Ejemplo n.º 1
0
 public CollisionManager(
     PlayerManager player,
     EnemyManager enemyManager,
     BreakableManager breakableManager,
     SpikeManager spikeManager,
     KeyDoor keyDoor,
     HeartManager heartManager
     )
 {
     this.player           = player;
     this.enemyManager     = enemyManager;
     this.breakableManager = breakableManager;
     this.spikeManager     = spikeManager;
     this.keyDoor          = keyDoor;
     this.heartManager     = heartManager;
 }
Ejemplo n.º 2
0
 // Spawn hearts for level
 public static void SpawnHearts(HeartManager heartManager)
 {
     //heartManager.SpawnHeart(new Vector2(x, y));
 }
Ejemplo n.º 3
0
 // Spawn hearts for level
 public static void SpawnHearts(HeartManager heartManager)
 {
     heartManager.SpawnHeart(new Vector2(57, 419));
 }
Ejemplo n.º 4
0
 // Spawn hearts for level
 public static void SpawnHearts(HeartManager heartManager)
 {
 }