Beispiel #1
0
 //constructor
 public GameMain()
 {
     LocalPlayer=new Player(this);
 }
Beispiel #2
0
 public Projectile(Player player, Direction direction, GameMain parent)
     : base(new Rectangle(player.Hitbox.X + 10, player.Hitbox.Y + 17, ressources.projectile.Bounds.Width, ressources.projectile.Bounds.Height), parent)
 {
     this.direction = direction;
 }