Beispiel #1
0
        public Projectile(Game game, dynamic model, ProjectileWeapon weapon)
            : base(game, (object)model)
        {
            Weapon = weapon;
            SourceObject = weapon.SourceObject;

            Velocity = new Vector2f();
            LastPos = new Vector2f();
        }
Beispiel #2
0
        public Projectile(Game game, dynamic model, ProjectileWeapon weapon)
            : base(game, (object)model)
        {
            Weapon       = weapon;
            SourceObject = weapon.SourceObject;

            Velocity = new Vector2f();
            LastPos  = new Vector2f();
        }