public TileCamera(TileWorld world) { Name = "TileCamera"; _world = world; LimitLeft = 0; LimitTop = 0; SmoothingEnabled = true; }
public PlayerInputHandler(TileWorld world) { Name = "PlayerInputHandler"; World = world; // Create keys Left = new PlayerInputKey("Left"); Right = new PlayerInputKey("Right"); Up = new PlayerInputKey("Up"); Down = new PlayerInputKey("Down"); Explode = new PlayerInputKey("Explode"); Bomb = new PlayerInputKey("Bomb"); Action = new PlayerInputKey("Action"); }
public TileWorldDebugDraw(TileWorld world) { Name = "TileWorldDebugDraw"; _world = world; MouseFilter = MouseFilterEnum.Ignore; }