mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-24 05:10:42 -04:00
22 lines
526 B
C#
22 lines
526 B
C#
// Copyright 2014-2017 ClassicalSharp | Licensed under BSD-3
|
|
using System;
|
|
using ClassicalSharp.Gui.Widgets;
|
|
using OpenTK.Input;
|
|
using BlockID = System.UInt16;
|
|
|
|
namespace ClassicalSharp.Mode {
|
|
|
|
public interface IGameMode : IGameComponent {
|
|
|
|
bool HandlesKeyDown(Key key);
|
|
bool PickingLeft();
|
|
bool PickingRight();
|
|
void PickLeft(BlockID old);
|
|
void PickMiddle(BlockID old);
|
|
void PickRight(BlockID old, BlockID block);
|
|
Widget MakeHotbar();
|
|
void BeginFrame(double delta);
|
|
void EndFrame(double delta);
|
|
}
|
|
}
|