Пример #1
0
        protected override void Draw(GameTime gameTime)
        {
            float gt = (float)gameTime.ElapsedGameTime.TotalSeconds;

            RenderingManager.Draw(gt);

            base.Draw(gameTime);
        }
Пример #2
0
 public virtual void Initilize(ContentManager c)
 {
     Content = c;
     CollisionManager.Clear();
     RenderingManager.Clear();
     SoundManager.Clear();
     Camera.Initilize();
 }
Пример #3
0
 protected override void Initialize()
 {
     // TODO: Add your initialization logic here
     RenderingManager.Initilize(GraphicsDevice);
     SoundManager.Initilize();
     CollisionManager.Initilize();
     SceneManager.Initilize(Content);
     Camera.Initilize();
     SceneManager.ChangeScene(new MainMenu());
     base.Initialize();
 }
Пример #4
0
 public void Post()
 {
     Posted = true;
     RenderingManager.AddSpriteToDraw(this);
 }