public Asteroid(GameLayout game, Vector2 pos) : base(game) { speed = new Vector2(3 * (float)r.NextDouble(), 1.2f * (float)r.NextDouble()); position = pos; num = (int)(r.NextDouble() * 10); rotateSpeed = 150 + r.NextDouble() * 150; }
public MonsterMini(GameLayout game, Vector2 pos) : base(game) { speed = new Vector2(1f + 1.5f * (float)r.NextDouble(), 1f + 1.5f * (float)r.NextDouble()); position = pos; num = (int)(r.NextDouble() * 3); num2 = (int)(r.NextDouble() * 2); }
public LifePoint(GameLayout game, Vector2 pos) : base(game) { speed = new Vector2(0, 0); position = pos; }
public MonsterBig(GameLayout game, Vector2 pos) : base(game) { speed = new Vector2(1f + 1.5f * (float)r.NextDouble(), 1f + 1.5f * (float)r.NextDouble()); position = pos; rectTex = new Rectangle(781 + (int)(r.NextDouble() * 6) % 2 * 104, 376, 104, 67); }
public Ammo(GameLayout game, Vector2 pos) : base(game) { speed = new Vector2(0, 0); position = pos; }
public Enemy(GameLayout _game) { game = _game; onLoad(); }
public Bullet(GameLayout game, Vector2 vel) : base(game) { speed = vel * 20; position = Layout.player.Position; }
public BigBoss(GameLayout game, Vector2 pos) : base(game) { speed = new Vector2(10, 0); position = pos; rectTex = new Rectangle(0, 443, 300, 170); }