public DoorTile(string filename, int cols, int rows, TiledObject obj) : base(filename, cols, rows) { width = (int)obj.Width; height = (int)obj.Height; visible = false; SetOrigin(width / 2, height / 8); Goto = obj.GetStringProperty("GoTo"); }
public ActivityTile(string filename, int cols, int rows, TiledObject obj) : base(filename, cols, rows) { width = (int)obj.Width; height = (int)obj.Height; visible = false; SetOrigin(width / 2, height / 2); Activity = obj.GetStringProperty("Activity"); }