import GraphicalViewKeyboardController from 'roguelike/app/controllers/GraphicalViewKeyboardController.js'
GraphicalViewKeyboardController
Controller that listens for keypresses on dungeon views and converts them to game moves
Constructor Summary
Public Constructor | ||
public |
constructor(sharedData: GraphicalViewSharedData) Instantiates a controller and binds event handlers to the document |
Public Constructors
public constructor(sharedData: GraphicalViewSharedData) source
Instantiates a controller and binds event handlers to the document
Params:
Name | Type | Attribute | Description |
sharedData | GraphicalViewSharedData | The data object containing the dungeon |