Exemplo n.º 1
0
 public CollisionDetection(Player player, Game1 game)
 {
     this.game        = game;
     grassResponse    = new GrassCollisionResponse(game);
     tileResponse     = new TileCollisionResponse(game);
     ledgeResponse    = new LedgeCollisionResponse(game);
     buildingResponse = new BuildingCollisionResponse(game);
     enemyResponse    = new EnemyCollisionResponse(game);
     exitResponse     = new ExitCollisionResponse(game);
 }
Exemplo n.º 2
0
 public CollisionDetection(Player player, Game1 game)
 {
     this.game = game;
     grassResponse = new GrassCollisionResponse(game);
     tileResponse = new TileCollisionResponse(game);
     ledgeResponse = new LedgeCollisionResponse(game);
     buildingResponse = new BuildingCollisionResponse(game);
     enemyResponse = new EnemyCollisionResponse(game);
     exitResponse = new ExitCollisionResponse(game);
 }