Пример #1
0
        public void SetProjType()
        {
            if (mType == ProjectileType.Bullet)
            {
                if (mTeam == 0)
                {
                    mAssetKit = new AssetKit_Proj_PlayerBullet_01();
                }
                else
                {
                    mAssetKit = new AssetKit_Proj_Bullet_01();
                }

                mCollision = new PointCollision(mXPos, mYPos, this);
                aaGameWorld.CollisionShapes_Points.Add(mCollision as PointCollision);
                mCollisionType = CollisionType.Point;
            }
            else if (mType == ProjectileType.Mine)
            {
                if (mTeam == 0)
                {
                    mAssetKit  = new AssetKit_PlayerMine();
                    mCollision = new CircleCollision(mXPos, mYPos, 15, this);
                }
                else
                {
                    mAssetKit  = new AssetKit_Proj_Mine_01();
                    mCollision = new CircleCollision(mXPos, mYPos, 8, this);
                }

                aaGameWorld.CollisionShapes_Circle.Add(mCollision as CircleCollision);
                mCollisionType = CollisionType.Circle;
            }
            else if (mType == ProjectileType.Missile)
            {
                mAssetKit  = new AssetKit_Proj_Missile_01();
                mCollision = new PointCollision(mXPos, mYPos, this);
                aaGameWorld.CollisionShapes_Points.Add(mCollision as PointCollision);
                mCollisionType = CollisionType.Point;
            }
            else if (mType == ProjectileType.LaserBall)
            {
                mAssetKit  = new AssetKit_Proj_Laser_01();
                mCollision = new CircleCollision(mXPos, mYPos, 8, this);
                aaGameWorld.CollisionShapes_Circle.Add(mCollision as CircleCollision);
                mCollisionType = CollisionType.Circle;
            }
            else if (mType == ProjectileType.AntiBullet)
            {
                mAssetKit  = new AssetKit_Proj_AntiBullet();
                mCollision = new CircleCollision(mXPos, mYPos, 15, this);
                aaGameWorld.CollisionShapes_Circle.Add(mCollision as CircleCollision);
                mCollisionType = CollisionType.Circle;
            }
            else
            {
                // Console.WriteLine("ERROR: NO OBJECT TYPE!");
            }
        }
Пример #2
0
        public EntityManager(GameWorld pGameWorld)
        {
            aaGameWorld = pGameWorld;

            pEnemyBulletAssetKit = new AssetKit_Proj_Bullet_01();
            pLaserAssetKit = new AssetKit_Proj_Laser_01();
            pMineAssetKit = new AssetKit_Proj_Mine_01();
            pMissileAssetKit = new AssetKit_Proj_Missile_01();
            pPlayerBulletAssetKit = new AssetKit_Proj_PlayerBullet_01();
            pAntiBulletAssetKit = new AssetKit_Proj_AntiBullet();
            pPlayerMineAssetKit = new AssetKit_PlayerMine();

            pEnemyBulletProjectileKit = new ProjectileKit_Enemy_Bullet();
            pLaserProjectileKit = new ProjectileKit_Laser();
            pMineProjectileKit = new ProjectileKit_Mine();
            pMissileProjectileKit = new ProjectileKit_Missile();
            pPlayerBulletProjectileKit = new ProjectileKit_Player_Bullet();
            pAntiBulletProjectileKit = new ProjectileKit_Antibullet();
            mNextProjectileID = 0;
        }
Пример #3
0
        public EntityManager(GameWorld pGameWorld)
        {
            aaGameWorld = pGameWorld;

            pEnemyBulletAssetKit  = new AssetKit_Proj_Bullet_01();
            pLaserAssetKit        = new AssetKit_Proj_Laser_01();
            pMineAssetKit         = new AssetKit_Proj_Mine_01();
            pMissileAssetKit      = new AssetKit_Proj_Missile_01();
            pPlayerBulletAssetKit = new AssetKit_Proj_PlayerBullet_01();
            pAntiBulletAssetKit   = new AssetKit_Proj_AntiBullet();
            pPlayerMineAssetKit   = new AssetKit_PlayerMine();

            pEnemyBulletProjectileKit  = new ProjectileKit_Enemy_Bullet();
            pLaserProjectileKit        = new ProjectileKit_Laser();
            pMineProjectileKit         = new ProjectileKit_Mine();
            pMissileProjectileKit      = new ProjectileKit_Missile();
            pPlayerBulletProjectileKit = new ProjectileKit_Player_Bullet();
            pAntiBulletProjectileKit   = new ProjectileKit_Antibullet();
            mNextProjectileID          = 0;
        }
Пример #4
0
 public UIElement_AbilityIndicator(Display pDisplay, GameWorld pGameWorld, Ability pTrackedAbility, AssetKit pAssetKit, int pPosX, int pPosY, float pDepth, float pRotation = 0)
     : base(pDisplay, pGameWorld, pAssetKit.ASSET_NAME, pPosX, pPosY, (int)pAssetKit.ORIGIN.X, (int)pAssetKit.ORIGIN.Y, pDepth, pAssetKit.SRC_RECTX, pAssetKit.SRC_RECTY, pAssetKit.SRC_RECTWIDTH, pAssetKit.SRC_RECTHEIGHT, pRotation, 2.0f)
 {
     mTrackedAbility = pTrackedAbility;
     Show();
 }
Пример #5
0
        public void ShipChangeUpdate()
        {
            mShipName.MenuDestroy();
            mHealth.MenuDestroy();
            mMaxThrust.MenuDestroy();
            mTurnSpeed.MenuDestroy();
            special2ID = -1;
            special3ID = -2;
            special4ID = -3;
            SpecialAbility2.src_RectX = lockedKit.SRC_RECTX;
            SpecialAbility2.src_RectY = lockedKit.SRC_RECTY;
            SpecialAbility3.src_RectX = lockedKit.SRC_RECTX;
            SpecialAbility3.src_RectY = lockedKit.SRC_RECTY;
            SpecialAbility4.src_RectX = lockedKit.SRC_RECTX;
            SpecialAbility4.src_RectY = lockedKit.SRC_RECTY;

            switch (shipCount)
            {
                case 0:
                    ShipIcon.src_RectX = aiconKit.SRC_RECTX;
                    ShipIcon.src_RectY = aiconKit.SRC_RECTY;
                    shipname = "AGILITY";
                    health = "100";
                    maxthrust = "300 N";
                    turnspeed = "5 rad/s";
                    if (CheckAbility1())
                        ability1 = SetAbilityIcon(Abilitydata.mAbility1[0]);
                    else
                        ability1 = SetAbilityIcon(Constants.EMPTY_ONE);
                    if (CheckAbility2())
                        ability2 = SetAbilityIcon(Abilitydata.mAbility2[0]);
                    else
                        ability2 = SetAbilityIcon(Constants.EMPTY_TWO);
                    if (CheckAbility3())
                        ability3 = SetAbilityIcon(Abilitydata.mAbility3[0]);
                    else
                        ability3 = SetAbilityIcon(Constants.EMPTY_THREE);
                    if (CheckAbility4())
                        ability4 = SetAbilityIcon(Abilitydata.mAbility4[0]);
                    else
                        ability4 = SetAbilityIcon(Constants.EMPTY_FOUR);
                    SpecialAbility1.src_RectX = tighterturnsKit.SRC_RECTX;
                    SpecialAbility1.src_RectY = tighterturnsKit.SRC_RECTY;
                    special1ID = 9;
                    if (Abilitydata.mUnlocks[0] == 2736)
                    {
                        SpecialAbility2.src_RectX = shotgunblastKit.SRC_RECTX;
                        SpecialAbility2.src_RectY = shotgunblastKit.SRC_RECTY;
                        special2ID = 8;
                    }
                    if (Abilitydata.mUnlocks[1] == 1967)
                    {
                        SpecialAbility3.src_RectX = energyshieldKit.SRC_RECTX;
                        SpecialAbility3.src_RectY = energyshieldKit.SRC_RECTY;
                        special3ID = 10;
                    }
                    if (Abilitydata.mUnlocks[2] == 8913)
                    {
                        SpecialAbility4.src_RectX = bulletfurryKit.SRC_RECTX;
                        SpecialAbility4.src_RectY = bulletfurryKit.SRC_RECTY;
                        special4ID = 4;
                    }
                    break;
                case 1:
                    ShipIcon.src_RectX = ticonKit.SRC_RECTX;
                    ShipIcon.src_RectY = ticonKit.SRC_RECTY;
                    shipname = "TANK";
                    health = "200";
                    maxthrust = "230 N";
                    turnspeed = "3 rad/s";
                    if (CheckAbility1())
                        ability1 = SetAbilityIcon(Abilitydata.mAbility1[1]);
                    else
                        ability1 = SetAbilityIcon(Constants.EMPTY_ONE);
                    if (CheckAbility2())
                        ability2 = SetAbilityIcon(Abilitydata.mAbility2[1]);
                    else
                        ability2 = SetAbilityIcon(Constants.EMPTY_TWO);
                    if (CheckAbility3())
                        ability3 = SetAbilityIcon(Abilitydata.mAbility3[1]);
                    else
                        ability3 = SetAbilityIcon(Constants.EMPTY_THREE);
                    if (CheckAbility4())
                        ability4 = SetAbilityIcon(Abilitydata.mAbility4[1]);
                    else
                        ability4 = SetAbilityIcon(Constants.EMPTY_FOUR);
                    SpecialAbility1.src_RectX = overchargeenginesKit.SRC_RECTX;
                    SpecialAbility1.src_RectY = overchargeenginesKit.SRC_RECTY;
                    special1ID = 6;
                    if (Abilitydata.mUnlocks[3] == 8432)
                    {
                        SpecialAbility2.src_RectX = missileflurryKit.SRC_RECTX;
                        SpecialAbility2.src_RectY = missileflurryKit.SRC_RECTY;
                        special2ID = 7;
                    }
                    if (Abilitydata.mUnlocks[4] == 6874)
                    {
                        SpecialAbility3.src_RectX = mineKit.SRC_RECTX;
                        SpecialAbility3.src_RectY = mineKit.SRC_RECTY;
                        special3ID = 14;
                    }
                    if (Abilitydata.mUnlocks[5] == 8794)
                    {
                        SpecialAbility4.src_RectX = fullshieldKit.SRC_RECTX;
                        SpecialAbility4.src_RectY = fullshieldKit.SRC_RECTY;
                        special4ID = 15;
                    }
                    break;
                case 2:
                    ShipIcon.src_RectX = ciconKit.SRC_RECTX;
                    ShipIcon.src_RectY = ciconKit.SRC_RECTY;
                    shipname = "COMMANDO";
                    health = "120";
                    maxthrust = "280 N";
                    turnspeed = "4 rad/s";
                    if (CheckAbility1())
                        ability1 = SetAbilityIcon(Abilitydata.mAbility1[2]);
                    else
                        ability1 = SetAbilityIcon(Constants.EMPTY_ONE);
                    if (CheckAbility2())
                        ability2 = SetAbilityIcon(Abilitydata.mAbility2[2]);
                    else
                        ability2 = SetAbilityIcon(Constants.EMPTY_TWO);
                    if (CheckAbility3())
                        ability3 = SetAbilityIcon(Abilitydata.mAbility3[2]);
                    else
                        ability3 = SetAbilityIcon(Constants.EMPTY_THREE);
                    if (CheckAbility4())
                        ability4 = SetAbilityIcon(Abilitydata.mAbility4[2]);
                    else
                        ability4 = SetAbilityIcon(Constants.EMPTY_FOUR);
                    SpecialAbility1.src_RectX = reargunsKit.SRC_RECTX;
                    SpecialAbility1.src_RectY = reargunsKit.SRC_RECTY;
                    special1ID = 11;
                    if (Abilitydata.mUnlocks[6] == 3252)
                    {
                        SpecialAbility2.src_RectX = antibulletsKit.SRC_RECTX;
                        SpecialAbility2.src_RectY = antibulletsKit.SRC_RECTY;
                        special2ID = 12;
                    }
                    if (Abilitydata.mUnlocks[7] == 3248)
                    {
                        SpecialAbility3.src_RectX = dualwieldKit.SRC_RECTX;
                        SpecialAbility3.src_RectY = dualwieldKit.SRC_RECTY;
                        special3ID = 5;
                    }
                    if (Abilitydata.mUnlocks[8] == 8942)
                    {
                        SpecialAbility4.src_RectX = satelliteKit.SRC_RECTX;
                        SpecialAbility4.src_RectY = satelliteKit.SRC_RECTY;
                        special4ID = 13;
                    }
                    break;
            }

            textSize = mGameReference.mTextboxFont.MeasureString(shipname);
            mShipName.mPos.X = 265 - (int)(textSize.X / 2);
            mShipName.mText = shipname;
            mHealth.mText = "Health: " + health;
            mMaxThrust.mText = "Max Thrust: " + maxthrust;
            mTurnSpeed.mText = "Turn Speed: " + turnspeed;
            Ability1.src_RectX = ability1.SRC_RECTX;
            Ability1.src_RectY = ability1.SRC_RECTY;
            Ability2.src_RectX = ability2.SRC_RECTX;
            Ability2.src_RectY = ability2.SRC_RECTY;
            Ability3.src_RectX = ability3.SRC_RECTX;
            Ability3.src_RectY = ability3.SRC_RECTY;
            Ability4.src_RectX = ability4.SRC_RECTX;
            Ability4.src_RectY = ability4.SRC_RECTY;
            mGameReference.aaDisplay.AddMenuUIElement(mShipName);
            mGameReference.aaDisplay.AddMenuUIElement(mHealth);
            mGameReference.aaDisplay.AddMenuUIElement(mMaxThrust);
            mGameReference.aaDisplay.AddMenuUIElement(mTurnSpeed);
            mGameReference.aaDisplay.AddMenuUIElement(ShipIcon);
            UpdateDescriptionText(0);
        }
Пример #6
0
 public void SetEntityType()
 {
     if (mType == "Player_Agility")
     {
         mAssetKit = new AssetKit_Ship_AGI_01();
         mBrain = new Brain_Player(this as Ship, "Agility");
     }
     else if (mType == "Player_Commando")
     {
         mAssetKit = new AssetKit_Ship_Commando();
         mBrain = new Brain_Player(this as Ship, "Commando");
     }
     else if (mType == "Player_Tank")
     {
         mAssetKit = new AssetKit_Ship_PTank();
         mBrain = new Brain_Player(this as Ship, "Tank");
     }
     else if (mType == "Grunt_Ship")
     {
         mAssetKit = new AssetKit_Ship_GRUNT_01();
         mBrain = new Brain_Grunt(this as Ship);
     }
     else if (mType == "Tank_Ship")
     {
         mAssetKit = new AssetKit_Ship_TANK_01();
         mBrain = new Brain_Tank(this as Ship);
     }
     else if (mType == "Bomb_Ship")
     {
         mAssetKit = new AssetKit_Ship_BOMB_01();
         mBrain = new Brain_Bomb(this as Ship);
     }
     else if(mType == "Stealth_Ship")
     {
         mAssetKit = new AssetKit_Ship_STEALTH_01();
         mBrain = new Brain_Stealth(this as Ship);
     }
     else if (mType == "Laser_Ship")
     {
         mAssetKit = new AssetKit_Ship_LASER_01();
         mBrain = new Brain_Laser(this as Ship);
     }
     else if (mType == "Grunt_Boss")
     {
         mAssetKit = new AssetKit_Ship_GRUNT_BOSS();
         mBrain = new Brain_Grunt_Boss(this as Ship);
     }
     else if (mType == "Tank_Boss")
     {
         mAssetKit = new AssetKit_Ship_TANK_BOSS();
         mBrain = new Brain_Tank_Boss(this as Ship);
     }
     else if (mType == "Bomb_Boss")
     {
         mAssetKit = new AssetKit_Ship_BOMB_BOSS_01();
         mBrain = new Brain_Bomb_Boss(this as Ship);
     }
     else if (mType == "Satellite")
     {
         mAssetKit = new AssetKit_Satellite();
         mBrain = new Brain_Satellite(this as Ship);
     }
     else
     {
         // Console.WriteLine("ERROR: NO OBJECT TYPE!");
     }
 }
Пример #7
0
        public Projectile AddProjectile(uint pTeam, ProjectileType pType, Vector2 pPosition, float pRotation, ProjectileKitType pProjectileKitType, Ship pTarget = null, Ship pOwner = null)
        {
            ProjectileKit projectileKit = null;
            AssetKit      assetKit      = null;

            switch (pProjectileKitType)
            {
            case ProjectileKitType.EnemyBullet:
                projectileKit = pEnemyBulletProjectileKit;
                assetKit      = pEnemyBulletAssetKit;
                break;

            case ProjectileKitType.Laser:
                projectileKit = pLaserProjectileKit;
                assetKit      = pLaserAssetKit;
                break;

            case ProjectileKitType.Mine:
                if (pTeam == 0)
                {
                    assetKit = pPlayerMineAssetKit;
                }
                else
                {
                    assetKit = pMineAssetKit;
                }
                projectileKit = pMineProjectileKit;
                break;

            case ProjectileKitType.Missile:
                projectileKit = pMissileProjectileKit;
                assetKit      = pMissileAssetKit;
                break;

            case ProjectileKitType.PlayerBullet:
                projectileKit = pPlayerBulletProjectileKit;
                assetKit      = pPlayerBulletAssetKit;
                break;

            case ProjectileKitType.AntiBullet:
                projectileKit = pAntiBulletProjectileKit;
                assetKit      = pAntiBulletAssetKit;
                break;

            default:
                projectileKit = pEnemyBulletProjectileKit;
                assetKit      = pEnemyBulletAssetKit;
                break;
            }
            if (aaGameWorld.mRemovedProjectileList.Count != 0)
            {
                Projectile tempProj = aaGameWorld.mRemovedProjectileList.ElementAt(0);
                aaGameWorld.mRemovedProjectileList.RemoveAt(0);
                if (aaGameWorld.mProjectileList.Contains(tempProj))
                {
                    Projectile newProj = new Projectile(aaGameWorld, pTeam, pType, pPosition.X, pPosition.Y, pRotation, projectileKit, pTarget, pOwner);
                    aaGameWorld.mProjectileList.Add(newProj);
                    return(newProj);
                }
                else
                {
                    tempProj.mXPos = pPosition.X;
                    tempProj.mYPos = pPosition.Y;
                    tempProj.mType = pType;
                    tempProj.mTeam = pTeam;
                    tempProj.SetProjType();
                    tempProj.mRotation = pRotation;
                    tempProj.mProjKit  = projectileKit;
                    tempProj.mTarget   = pTarget;
                    tempProj.mOwner    = pOwner;
                    tempProj.mDispObject.mAssetFile     = assetKit.ASSET_NAME;
                    tempProj.mDispObject.src_RectX      = assetKit.SRC_RECTX;
                    tempProj.mDispObject.src_RectY      = assetKit.SRC_RECTY;
                    tempProj.mDispObject.src_RectWidth  = assetKit.SRC_RECTWIDTH;
                    tempProj.mDispObject.src_RectHeight = assetKit.SRC_RECTHEIGHT;
                    tempProj.mDispObject.SetZoom(1.0f);
                    tempProj.mDispObject.Show();
                    tempProj.mProjectileID = mNextProjectileID++;
                    //tempProj.mDispObject = new DisplayObject(aaGameWorld.aaDisplay, assetKit.ASSET_NAME, pPosition.X, pPosition.Y, (int)assetKit.ORIGIN.X, (int)assetKit.ORIGIN.Y, Constants.LAYER_PROJECTILE_DEPTH, assetKit.SRC_RECTX, assetKit.SRC_RECTY, assetKit.SRC_RECTWIDTH, assetKit.SRC_RECTHEIGHT, pRotation, false);
                    aaGameWorld.mProjectileList.Add(tempProj);
                    return(tempProj);
                }
            }
            else
            {
                Projectile newProj = new Projectile(aaGameWorld, pTeam, pType, pPosition.X, pPosition.Y, pRotation, projectileKit, pTarget, pOwner);
                newProj.mProjectileID = mNextProjectileID++;
                aaGameWorld.mProjectileList.Add(newProj);
                return(newProj);
            }
        }
Пример #8
0
        public void SetProjType()
        {
            if (mType == ProjectileType.Bullet)
            {
                if (mTeam == 0)
                    mAssetKit = new AssetKit_Proj_PlayerBullet_01();
                else
                    mAssetKit = new AssetKit_Proj_Bullet_01();

                mCollision = new PointCollision(mXPos, mYPos, this);
                aaGameWorld.CollisionShapes_Points.Add(mCollision as PointCollision);
                mCollisionType = CollisionType.Point;
            }
            else if (mType == ProjectileType.Mine)
            {
                if (mTeam == 0)
                {
                    mAssetKit = new AssetKit_PlayerMine();
                    mCollision = new CircleCollision(mXPos, mYPos, 15, this);
                }
                else
                {
                    mAssetKit = new AssetKit_Proj_Mine_01();
                    mCollision = new CircleCollision(mXPos, mYPos, 8, this);
                }

                aaGameWorld.CollisionShapes_Circle.Add(mCollision as CircleCollision);
                mCollisionType = CollisionType.Circle;
            }
            else if (mType == ProjectileType.Missile)
            {
                mAssetKit = new AssetKit_Proj_Missile_01();
                mCollision = new PointCollision(mXPos, mYPos, this);
                aaGameWorld.CollisionShapes_Points.Add(mCollision as PointCollision);
                mCollisionType = CollisionType.Point;
            }
            else if (mType == ProjectileType.LaserBall)
            {
                mAssetKit = new AssetKit_Proj_Laser_01();
                mCollision = new CircleCollision(mXPos, mYPos, 8, this);
                aaGameWorld.CollisionShapes_Circle.Add(mCollision as CircleCollision);
                mCollisionType = CollisionType.Circle;
            }
            else if (mType == ProjectileType.AntiBullet)
            {
                mAssetKit = new AssetKit_Proj_AntiBullet();
                mCollision = new CircleCollision(mXPos, mYPos, 15, this);
                aaGameWorld.CollisionShapes_Circle.Add(mCollision as CircleCollision);
                mCollisionType = CollisionType.Circle;
            }
            else
            {
                // Console.WriteLine("ERROR: NO OBJECT TYPE!");
            }
        }
Пример #9
0
 public UIElement_AbilityIndicator(Display pDisplay, GameWorld pGameWorld, Ability pTrackedAbility, AssetKit pAssetKit, int pPosX, int pPosY, float pDepth, float pRotation = 0)
     : base(pDisplay, pGameWorld, pAssetKit.ASSET_NAME, pPosX, pPosY, (int)pAssetKit.ORIGIN.X, (int)pAssetKit.ORIGIN.Y, pDepth, pAssetKit.SRC_RECTX, pAssetKit.SRC_RECTY, pAssetKit.SRC_RECTWIDTH, pAssetKit.SRC_RECTHEIGHT, pRotation, 2.0f)
 {
     mTrackedAbility = pTrackedAbility;
     Show();
 }
Пример #10
0
 public void SetEntityType()
 {
     if (mType == "Player_Agility")
     {
         mAssetKit = new AssetKit_Ship_AGI_01();
         mBrain    = new Brain_Player(this as Ship, "Agility");
     }
     else if (mType == "Player_Commando")
     {
         mAssetKit = new AssetKit_Ship_Commando();
         mBrain    = new Brain_Player(this as Ship, "Commando");
     }
     else if (mType == "Player_Tank")
     {
         mAssetKit = new AssetKit_Ship_PTank();
         mBrain    = new Brain_Player(this as Ship, "Tank");
     }
     else if (mType == "Grunt_Ship")
     {
         mAssetKit = new AssetKit_Ship_GRUNT_01();
         mBrain    = new Brain_Grunt(this as Ship);
     }
     else if (mType == "Tank_Ship")
     {
         mAssetKit = new AssetKit_Ship_TANK_01();
         mBrain    = new Brain_Tank(this as Ship);
     }
     else if (mType == "Bomb_Ship")
     {
         mAssetKit = new AssetKit_Ship_BOMB_01();
         mBrain    = new Brain_Bomb(this as Ship);
     }
     else if (mType == "Stealth_Ship")
     {
         mAssetKit = new AssetKit_Ship_STEALTH_01();
         mBrain    = new Brain_Stealth(this as Ship);
     }
     else if (mType == "Laser_Ship")
     {
         mAssetKit = new AssetKit_Ship_LASER_01();
         mBrain    = new Brain_Laser(this as Ship);
     }
     else if (mType == "Grunt_Boss")
     {
         mAssetKit = new AssetKit_Ship_GRUNT_BOSS();
         mBrain    = new Brain_Grunt_Boss(this as Ship);
     }
     else if (mType == "Tank_Boss")
     {
         mAssetKit = new AssetKit_Ship_TANK_BOSS();
         mBrain    = new Brain_Tank_Boss(this as Ship);
     }
     else if (mType == "Bomb_Boss")
     {
         mAssetKit = new AssetKit_Ship_BOMB_BOSS_01();
         mBrain    = new Brain_Bomb_Boss(this as Ship);
     }
     else if (mType == "Satellite")
     {
         mAssetKit = new AssetKit_Satellite();
         mBrain    = new Brain_Satellite(this as Ship);
     }
     else
     {
         // Console.WriteLine("ERROR: NO OBJECT TYPE!");
     }
 }