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(); }
public override void AddToManagers() { Level2File.AddToManagers(mLayer); FlatRedBall.SpriteManager.AddDrawableBatch(gumIdb); base.AddToManagers(); CustomInitialize(); }
public override void AddToManagers() { PlatformerLevel1.AddToManagers(mLayer); PlayerInstance.AddToManagers(mLayer); base.AddToManagers(); AddToManagersBottomUp(); CustomInitialize(); }
public override void AddToManagers() { PlatformerLevel1.AddToManagers(mLayer); HealthPointFactory.Initialize(PositionedObjectListInstance, ContentManagerName); PlayerInstance.AddToManagers(mLayer); base.AddToManagers(); AddToManagersBottomUp(); CustomInitialize(); }
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(); }
public override void AddToManagers() { tmxFile.AddToManagers(mLayer); base.AddToManagers(); CustomInitialize(); }