Example #1
0
        public override void Launch(int posX, int posY, FInt velX, FInt velY)
        {
            if (velX < 0)
            {
                posX -= 8;
            }
            var projectile = ProjectileBall.Create(this.character.room, this.projSubType, FVector.Create(posX, posY), FVector.Create(velX, velY));

            projectile.SetActorID(this.character);
        }
Example #2
0
        public override void Launch(int posX, int posY, FInt velX, FInt velY)
        {
            var projectile = ProjectileBall.Create(this.character.room, this.projSubType, FVector.Create(posX, posY), FVector.Create(velX, velY));

            projectile.SetActorID(this.character);

            var projectile2 = ProjectileBall.Create(this.character.room, this.projSubType, FVector.Create(posX, posY), FVector.Create(velX * FInt.Create(1.4), velY * FInt.Create(1.2)));

            projectile2.SetActorID(this.character);
        }
Example #3
0
        public virtual void Launch(int posX, int posY, FInt velX, FInt velY)
        {
            ProjectileBall projectile = ProjectileBall.Create(this.character.room, this.projSubType, FVector.Create(posX, posY), FVector.Create(velX.RoundInt, velY.RoundInt));

            projectile.SetActorID(this.character);
        }