Exemple #1
0
 public Light(Vector2 pos)
 {
     Position = pos;
     Sprite   = new SpriteData();
     Color    = Color.White;
 }
Exemple #2
0
 /// <summary>
 /// initializes the tile
 /// </summary>
 /// <param name="room">the room with the tile</param>
 /// <param name="position">the position of the tile</param>
 public GameTile(Room room, Vector2 position)
 {
     Room     = room;
     Position = position;
     Sprite   = new SpriteData();
 }
Exemple #3
0
 public StaticBackground(Room room, string assetName)
 {
     Room           = room;
     this.assetName = assetName;
     Image          = new SpriteData();
 }