Exemplo n.º 1
0
        public Player(FugamID id,TileMap tilemap)
            : base(tilemap)
        {
            fid = id;
            y = 11;

            switch (fid.GameID)
            {
                case 0:
                    x = 4;
                    animation = new Animation(Properties.Resources.playerred, 32, 32, 55);
                    break;
                case 1:
                    x = 10;
                    animation = new Animation(Properties.Resources.playerblue, 32, 32, 65);
                    break;
            }
            currentImage = animation.GetCurrentImage();
        }
Exemplo n.º 2
0
 public YourPlayer(FugamID id, TileMap tm,TileMap collisionMap)
     : base(id,tm)
 {
     _collisonMap = collisionMap;
 }
Exemplo n.º 3
0
 public Entity(TileMap tilemap)
 {
     this.tilemap = tilemap;
 }