public static BulletLauncherDataBase CreateBulletLauncherData(EBulletLauncherType type)
    {
        BulletLauncherDataBase data = null;

        switch (type)
        {
        case EBulletLauncherType.SingleBullet:
            data = new SingleBulletLauncherData();
            break;

        case EBulletLauncherType.Laser:
            break;
        }

        return(data);
    }
Example #2
0
 public BulletLauncherBase(EBulletLauncherType type)
 {
     m_launcherType = type;
 }