コード例 #1
0
 public override void AddToManagers()
 {
     Terrain.AddToManagers(mLayer);
     GameScreenGum.AddToManagers(); FlatRedBall.FlatRedBallServices.GraphicsOptions.SizeOrOrientationChanged += RefreshLayoutInternal;
     FlatRedBall.SpriteManager.AddLayer(UIBoatLayer);
     UIBoatLayerGum      = RenderingLibrary.SystemManagers.Default.Renderer.AddLayer();
     UIBoatLayerGum.Name = "UIBoatLayerGum";
     FlatRedBall.Gum.GumIdb.Self.AddGumLayerToFrbLayer(UIBoatLayerGum, UIBoatLayer);
     Factories.DockFactory.Initialize(ContentManagerName);
     Factories.CannonballFactory.Initialize(ContentManagerName);
     Factories.ExplosionFactory.Initialize(ContentManagerName);
     Factories.BulletFactory.Initialize(ContentManagerName);
     Factories.SkeletonFactory.Initialize(ContentManagerName);
     Factories.DockFactory.AddList(DockList);
     Factories.CannonballFactory.AddList(CannonballList);
     Factories.ExplosionFactory.AddList(ExplosionList);
     Factories.BulletFactory.AddList(BulletList);
     Factories.SkeletonFactory.AddList(EnemyList);
     PlayerBoat.AddToManagers(mLayer);
     PlayerInstance.AddToManagers(mLayer);
     SpeedMeter.AddToManagers(UIBoatLayer);
     base.AddToManagers();
     AddToManagersBottomUp();
     CustomInitialize();
 }
コード例 #2
0
ファイル: Level2.Generated.cs プロジェクト: Kr3m/MyNewGame
 public override void AddToManagers()
 {
     Level2File.AddToManagers(mLayer);
     FlatRedBall.SpriteManager.AddDrawableBatch(gumIdb);
     base.AddToManagers();
     CustomInitialize();
 }
コード例 #3
0
ファイル: Level1.Generated.cs プロジェクト: L00cky/platformer
 public override void AddToManagers()
 {
     PlatformerLevel1.AddToManagers(mLayer);
     PlayerInstance.AddToManagers(mLayer);
     base.AddToManagers();
     AddToManagersBottomUp();
     CustomInitialize();
 }
コード例 #4
0
ファイル: Level1.Generated.cs プロジェクト: L00cky/platformer
 public override void AddToManagers()
 {
     PlatformerLevel1.AddToManagers(mLayer);
     HealthPointFactory.Initialize(PositionedObjectListInstance, ContentManagerName);
     PlayerInstance.AddToManagers(mLayer);
     base.AddToManagers();
     AddToManagersBottomUp();
     CustomInitialize();
 }
コード例 #5
0
 public override void AddToManagers()
 {
     TestLevel.AddToManagers(mLayer);
     GameScreenGum.InstanceInitialize(); FlatRedBall.FlatRedBallServices.GraphicsOptions.SizeOrOrientationChanged += GameScreenGum.HandleResolutionChanged;
     Factories.TankFactory.Initialize(ContentManagerName);
     Factories.BulletFactory.Initialize(ContentManagerName);
     Factories.TreadEffectFactory.Initialize(ContentManagerName);
     Factories.TankFactory.AddList(TankList);
     Factories.BulletFactory.AddList(BulletList);
     Factories.TreadEffectFactory.AddList(TreadEffects);
     CameraEntityInstance.AddToManagers(mLayer);
     base.AddToManagers();
     AddToManagersBottomUp();
     CustomInitialize();
 }
コード例 #6
0
 public override void AddToManagers()
 {
     tmxFile.AddToManagers(mLayer);
     base.AddToManagers();
     CustomInitialize();
 }