Esempio n. 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));
 }
Esempio n. 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;
 }
Esempio n. 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;
 }
Esempio n. 4
0
 public FireballBig(GameWorld world, Vector2 position) : base(world, position, new Vector2(12, 12))
 {
 }
Esempio n. 5
0
 public Knife(GameWorld world, Vector2 position) : base(world, position, new Vector2(8, 8))
 {
 }
Esempio n. 6
0
 public PoisonBreath(GameWorld world, Vector2 position) : base(world, position)
 {
 }
Esempio n. 7
0
 public Fireball(GameWorld world, Vector2 position) : base(world, position, new Vector2(8, 8))
 {
 }
Esempio n. 8
0
 protected Bullet(GameWorld world, Vector2 position, Vector2 size) : base(world)
 {
     BulletSize = size;
     Create(position.X, position.Y);
 }
Esempio n. 9
0
 public SnakeSpit(GameWorld world, Vector2 position) : base(world, position, new Vector2(8, 8))
 {
 }
Esempio n. 10
0
 public SpellAzure(GameWorld world, Vector2 position) : base(world, position, new Vector2(12, 12))
 {
 }
Esempio n. 11
0
 public SpellOrange(GameWorld world, Vector2 position) : base(world, position, new Vector2(8, 8))
 {
 }
Esempio n. 12
0
 protected BulletSolid(GameWorld world, Vector2 position, Vector2 size) : base(world, position, size)
 {
 }