예제 #1
0
 public Camera(Player player, World world, Vector2 startPosition, Rectangle target, Rectangle hudPosition)
 {
     Hud = new HUD(player.Game, hudPosition);
     Player = player;
     World = world;
     Position = startPosition;
     Target = target;
     HudPosition = hudPosition;
 }
예제 #2
0
파일: Gun.cs 프로젝트: KennethE/KennethKode
 public abstract void Fire(World world, Player player, GameTime gameTime);