Example #1
0
        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();
            }
        }
Example #2
0
        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();
            }
        }