public static void SetVisible(this FlatRedBall.Math.PositionedObjectList <BombardingTower> list, bool value)
        {
            int count = list.Count;

            for (int i = 0; i < count; i++)
            {
                list[i].Visible = value;
            }
        }
        public static void SetVisible(this FlatRedBall.Math.PositionedObjectList <CannonProjectile> list, bool value)
        {
            int count = list.Count;

            for (int i = 0; i < count; i++)
            {
                list[i].Visible = value;
            }
        }
        public static void SetVisible(this FlatRedBall.Math.PositionedObjectList <StructurePlacement> list, bool value)
        {
            int count = list.Count;

            for (int i = 0; i < count; i++)
            {
                list[i].Visible = value;
            }
        }
예제 #4
0
        public static void SetVisible(this FlatRedBall.Math.PositionedObjectList <DarknessOverlay> list, bool value)
        {
            int count = list.Count;

            for (int i = 0; i < count; i++)
            {
                list[i].Visible = value;
            }
        }
예제 #5
0
 public static void Initialize(FlatRedBall.Math.PositionedObjectList <Enemy> listFromScreen, string contentManager)
 {
     mContentManagerName  = contentManager;
     mScreenListReference = listFromScreen;
     FactoryInitialize();
 }
예제 #6
0
 public static void Initialize(FlatRedBall.Math.PositionedObjectList <HealthPoint> listFromScreen, string contentManager)
 {
     mContentManagerName  = contentManager;
     mScreenListReference = listFromScreen;
 }