예제 #1
0
        protected virtual void EditBullet()
        {
            bullet.Team = Team;
            float fAngle = FiringAngle; //Check SprayGunPart's FiringAngle for deeper understanding of life

            if (Team == EntityConstants.GetStatsFromID(EntityConstants.TEAM, IDs.DEFAULT_ENEMY))
            {
                bullet.AddSpeed(EvilBulletSpeed, fAngle);
            }
            else
            {
                bullet.AddSpeed(BulletSpeed, fAngle);
            }
            bullet.Angle = fAngle;
        }