public LevelScreen(ScreenManager manager)
            : base(manager)
        {
            player = new Player(new Vector2(MAP_WIDTH / 2.0f, MAP_HEIGHT / 2.0f));
            buddy = player.SpawnBuddy();

            enemies = new List<Enemy>();
            deadEnemies = new Queue<Enemy>();

            pickups = new List<Pickup>();
            deadPickups = new Queue<Pickup>();
        }
예제 #2
0
 public Buddy(Player player, Vector2 position)
     : base(position, Vector2.Zero)
 {
     this.player = player;
     radius = 7.5f;
 }