示例#1
0
 public TileCamera(TileWorld world)
 {
     Name             = "TileCamera";
     _world           = world;
     LimitLeft        = 0;
     LimitTop         = 0;
     SmoothingEnabled = true;
 }
示例#2
0
        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");
        }
示例#3
0
 public TileWorldDebugDraw(TileWorld world)
 {
     Name        = "TileWorldDebugDraw";
     _world      = world;
     MouseFilter = MouseFilterEnum.Ignore;
 }