public static bool TileIsChest(Vector2 position) { var x = (int) position.X; var y = (int) position.Y; return TileIsChest(x, y); }
public Chest() { ID = -1; WorldID = Main.worldID; Owner = ""; Position = new Vector2(0, 0); Locked = false; RegionLock = false; Refill = false; HashedPassword = ""; RefillItems = new Item[20]; }
public void SetPosition(int x, int y) { Position = new Vector2(x, y); }
public void SetPosition(Vector2 position) { Position = position; }