コード例 #1
0
ファイル: Level1.Generated.cs プロジェクト: L00cky/platformer
        public override void Initialize(bool addToManagers)
        {
            LoadStaticContent(ContentManagerName);
            PlayerInstance      = new Platformer.Entities.Player(ContentManagerName, false);
            PlayerInstance.Name = "PlayerInstance";


            PostInitialize();
            base.Initialize(addToManagers);
            if (addToManagers)
            {
                AddToManagers();
            }
        }
コード例 #2
0
ファイル: Level1.Generated.cs プロジェクト: L00cky/platformer
        public override void Initialize(bool addToManagers)
        {
            LoadStaticContent(ContentManagerName);
            PlayerInstance                    = new Platformer.Entities.Player(ContentManagerName, false);
            PlayerInstance.Name               = "PlayerInstance";
            PositionedObjectListInstance      = new FlatRedBall.Math.PositionedObjectList <Platformer.Entities.HealthPoint>();
            PositionedObjectListInstance.Name = "PositionedObjectListInstance";


            PostInitialize();
            base.Initialize(addToManagers);
            if (addToManagers)
            {
                AddToManagers();
            }
        }