Beispiel #1
0
 public Player(GameWorld world, Vector2 position) : base(world, position)
 {
     InitHealth(100);
     Controls = new InputQueue(this);
     //Weapon = new WeaponKatana(15, 20, new Vector2(10, 40));
 }
Beispiel #2
0
 public Shockwave(GameWorld world, Vector2 position, float velocityDown) : base(world, position, new Vector2(8, (int)(16 * velocityDown / 5)))
 {
     ScalingFactor  = velocityDown;
     ShockwaveForce = (velocityDown >= 1) ? (float)Math.Floor(20 * velocityDown) : 20;
 }
Beispiel #3
0
 public BoomerangProjectile(GameWorld world, Vector2 position, float lifetime, WeaponBoomerang boomerang) : base(world, position, new Vector2(8, 8))
 {
     Lifetime  = lifetime;
     Boomerang = boomerang;
     FrameEnd  = float.PositiveInfinity;
 }
Beispiel #4
0
 public FireballBig(GameWorld world, Vector2 position) : base(world, position, new Vector2(12, 12))
 {
 }
Beispiel #5
0
 public Knife(GameWorld world, Vector2 position) : base(world, position, new Vector2(8, 8))
 {
 }
Beispiel #6
0
 public PoisonBreath(GameWorld world, Vector2 position) : base(world, position)
 {
 }
Beispiel #7
0
 public Fireball(GameWorld world, Vector2 position) : base(world, position, new Vector2(8, 8))
 {
 }
Beispiel #8
0
 protected Bullet(GameWorld world, Vector2 position, Vector2 size) : base(world)
 {
     BulletSize = size;
     Create(position.X, position.Y);
 }
Beispiel #9
0
 public SnakeSpit(GameWorld world, Vector2 position) : base(world, position, new Vector2(8, 8))
 {
 }
Beispiel #10
0
 public SpellAzure(GameWorld world, Vector2 position) : base(world, position, new Vector2(12, 12))
 {
 }
Beispiel #11
0
 public SpellOrange(GameWorld world, Vector2 position) : base(world, position, new Vector2(8, 8))
 {
 }
Beispiel #12
0
 protected BulletSolid(GameWorld world, Vector2 position, Vector2 size) : base(world, position, size)
 {
 }