mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-28 07:55:38 -04:00
18 lines
400 B
C#
18 lines
400 B
C#
// Copyright 2014-2017 ClassicalSharp | Licensed under BSD-3
|
|
using System;
|
|
using ClassicalSharp.Gui.Widgets;
|
|
using OpenTK.Input;
|
|
|
|
namespace ClassicalSharp.Mode {
|
|
|
|
public interface IGameMode : IGameComponent {
|
|
|
|
bool HandlesKeyDown(Key key);
|
|
void PickLeft(byte old);
|
|
void PickMiddle(byte old);
|
|
void PickRight(byte old, byte block);
|
|
bool PickEntity(byte id);
|
|
Widget MakeHotbar();
|
|
}
|
|
}
|