Esempio n. 1
0
        public Explosion(BomberMatch match, Type type, Vector direction, Vector position, Vector size) : base(match, true, true, true, position, size)
        {
            this._type      = type;
            this._direction = direction;

            match.TimeOnce(1000, () => Destroy());
            match.TimeOnce(100, () => { _particles = false; });
        }
Esempio n. 2
0
 public Explosion(BomberMatch match, Type type, Vector direction, Vector size) : this(match, type, direction, new Vector(), size)
 {
 }