Exemplo n.º 1
0
        public Wisp(GameState game, Vector2 position)
            : base(game, position, Settings.Game.Wisp.FrictionCoefficient)
        {
            this.controls = new ControlScheme();

            this.health        = Settings.Game.Wisp.MaxHealth;
            this.healStartTime = -1000;

            this.particles = new ParticleCloud(game, 50, this,
                                               Color.LightYellow.WithAlpha(0.5f) * GlobalRandom.NextFloat(0.03f, 0.1f), 10, 0.6f);
        }
Exemplo n.º 2
0
 public Monster(GameState game, Vector2 position)
     : base(game, position, Settings.Game.Enemy.FrictionCoefficient)
 {
     this.particles = new ParticleCloud(game, 50, this, Color.Black * 0.3f, 5, 1.5f);
 }