
I'm splitting up core pieces of functionality into several smaller modules. TrueCraftGame will be made smaller and smaller until it's just a small wrapper around the modules doing all of the work. This should allow for modders to easily add new modules or replace builtin modules, and will make the codebase more maintainable in general.
13 lines
361 B
C#
13 lines
361 B
C#
using Microsoft.Xna.Framework;
|
|
using TrueCraft.Client.Input;
|
|
|
|
namespace TrueCraft.Client.Modules
|
|
{
|
|
public interface IInputModule : IGameplayModule
|
|
{
|
|
bool KeyDown(GameTime gameTime, KeyboardKeyEventArgs e);
|
|
bool KeyUp(GameTime gameTime, KeyboardKeyEventArgs e);
|
|
void MouseMove(GameTime gameTime, MouseMoveEventArgs e);
|
|
}
|
|
}
|