public void Reload() { reloadMapPosition(); tileSource = GameProcessor.gcDB.gameSourceTiles.Find(gst => gst.tileID == tsID); hitboxes = tileSource.getHitBoxes(positionGrid.ToPoint()); bMustReload = false; }
public void AddTile(TileSource ts) { ts.tileID = tileSourceID; gameSourceTiles.Add(ts); tileSourceID++; }
public void Reload(GameContentDataBase gcdb) { tileSource = gcdb.gameSourceTiles.Find(gst => gst.tileID == tsID); hitboxes = tileSource.getHitBoxes(positionGrid.ToPoint()); bMustReload = false; }