Exemple #1
0
 public virtual void CollidedTop(Thing thing)
 {
     if (!thing.CanPush && !Carry.Has(thing))
     {
         Carry.AddThing(thing);
     }
 }
Exemple #2
0
 public void AddThingInGame(Thing thing)
 {
     addThings.AddThing(thing);
 }
Exemple #3
0
 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);
 }