public OverWorld(int[,] existingMap, int[,] existingCollisionMap, int x, int y, Game1 g)
 {
     OWmap = new TileMap(existingMap, existingCollisionMap);
       Xpos = x;
       Ypos = y;
       Facing = 2;
       EntityList = new List<Entity>();
       Game_Ref = g;
       mapList = new List<TileMap>();
       mapList.Add(OWmap);
 }
 public OverWorld(TileMap owm, int x, int y, Game1 g)
 {
     OWmap = owm;
       Xpos = x;
       Ypos = y;
       Facing = 2;
       EntityList = new List<Entity>();
       Game_Ref = g;
       mapList = new List<TileMap>();
       mapList.Add(OWmap);
 }
 public LockedDoor(OverWorld ow, Tile t, int f, TileMap newdestination, Door newsister, int newKeyID)
     : base(ow, t, f, newdestination, newsister)
 {
     keyID = newKeyID;
     locked = true;
 }
Exemple #4
0
 public Door(OverWorld ow, Tile t, int f, TileMap newdestination, Door newsister)
     : base(ow, t, f)
 {
     destination = newdestination;
       sister = newsister;
 }