private void shardDissolve(MeteoriteShard shard) { int randNum = meteoriteSentry.Random.Next(100); meteoriteSentry.ShardKilledEverything((shard.X, shard.Y)); meteoriteSentry.ShardBecameSomething((shard.X, shard.Y)); DeleteShard(shard); }
private void firstTick() { MeteoriteShard firstShard = new MeteoriteShard(midX, midY, this); CreateShard(firstShard); }
public void DeleteShard(MeteoriteShard shard) { meteoriteSentry.ShardWasDestroyedOnCell(shard); MeteoriteShards.Remove(MeteoriteShards.Find(probablyThisShard => probablyThisShard.ID == shard.ID)); }
public void CreateShard(MeteoriteShard shard) { MeteoriteShards.Add(shard); meteoriteSentry.ShardWasMadeOnCell(shard); }