simple_gridbased_game_kit library

Enums

AbstractGameActionEvent
游戏接收的逻辑输入事件
GameEvent
LogicGameEvent
LogicGame 发出的事件右游戏页面实现游戏逻辑扩展
PadActionEvent
游戏逻辑按键
TimerstepTriggertype

Constants

GAMEPAD_IINE_NUMPAD → const String
GridXDouble → const ({int x, int y})
GridXDoubleYStep → const ({int x, int y})
GridXStep → const ({int x, int y})
GridXStepYDouble → const ({int x, int y})
GridXTriple → const ({int x, int y})
GridXYDouble → const ({int x, int y})
GridXYStep → const ({int x, int y})
GridYDouble → const ({int x, int y})
GridYStep → const ({int x, int y})
GridYTriple → const ({int x, int y})
GridZero → const ({int x, int y})
KEY_4 → const String
KEY_5 → const String
KEY_6 → const String
KEY_7 → const String
KEY_8 → const String
KEY_9 → const String
KEY_A → const String
KEY_D → const String
KEY_DOWN → const String
KEY_E → const String
KEY_I → const String
KEY_J → const String
KEY_K → const String
KEY_L → const String
KEY_LEFT → const String
KEY_O → const String
KEY_Q → const String
KEY_RIGHT → const String
KEY_S → const String
KEY_U → const String
KEY_UP → const String
KEY_W → const String
KEYBOARD_ARROW → const String
KEYBOARD_AWSD → const String
KEYBOARD_JIKL → const String
KEYBOARD_NUMPAD → const String

Functions

addUpGridPos(GridPos gp1, GridPos gp2) GridPos

Typedefs

EnableBindPadID = (bool, int)
GridPos = ({int x, int y})
InnerTimerstepTrigger = ({int count, Duration elapsed, Duration interval, DateTime start, TimerstepTriggertype type})
MatrixRectGetter = RectGetter Function(int xIndex, int yIndex, {List<String> extras, String? named, Size? sampleSortSize, int? toXIndex, int? toYIndex})
SafeUpdaterFunc = void Function(VoidCallback , {String? debugInfo, int frames})
TickerStopTrueCallback = bool Function(Duration elapsed)
TimerstepTrigger = ({int count, Duration interval, DateTime start, TimerstepTriggertype type})