Arcade Shooter
MainMenuScreen.h
1 
2 /* .oooooo..o .o. ooo ooooo ooooooooo. ooooo oooooooooooo
3  d8P' `Y8 .888. `88. .888' `888 `Y88. `888' `888' `8
4  Y88bo. .8"888. 888b d'888 888 .d88' 888 888
5  `"Y8888o. .8' `888. 8 Y88. .P 888 888ooo88P' 888 888oooo8
6  `"Y88b .88ooo8888. 8 `888' 888 888 888 888 "
7  oo .d8P .8' `888. 8 Y 888 888 888 o 888 o
8  8""88888P' o88o o8888o o8o o888o o888o o888ooooood8 o888ooooood8
9 
10  Sample © 2017 - Shuriken Studios LLC */
11 
12 #pragma once
13 
14 namespace Sample
15 {
16 
18  class MainMenuScreen : public MenuScreen
19  {
20 
21  public:
22 
24  virtual ~MainMenuScreen() { }
25 
29  virtual void LoadContent(ResourceManager *pResourceManager);
30 
31 
34  virtual void Draw(SpriteBatch *pSpriteBatch);
35 
36 
37  private:
38 
39  Texture *m_pTexture;
40 
41  Vector2 m_texturePosition;
42 
43  };
44 }
Sample is a sample game to use as a template for using Katana Engine and Shooter Library.
Definition: Background.cpp:14
The main menu for the sample game.
Definition: MainMenuScreen.h:18
Base class for menu screens in the sample game.
Definition: MenuScreen.h:18
virtual void LoadContent(ResourceManager *pResourceManager)
Called when resources need to be loaded.
Definition: MainMenuScreen.cpp:50
virtual void Draw(SpriteBatch *pSpriteBatch)
Called when the game determines it is time to draw a frame.
Definition: MainMenuScreen.cpp:72