public virtual void CollidedTop(Thing thing) { if (!thing.CanPush && !Carry.Has(thing)) { Carry.AddThing(thing); } }
public void AddThingInGame(Thing thing) { addThings.AddThing(thing); }
public void AddPlayer(int row, int col, int direction) { player = new Player(this, row, col, direction); things.AddThing(player); Camera = player.Focus - new Vector(Mafia.SCREEN_WIDTH / 2, Mafia.SCREEN_HEIGHT / 2); }