31 virtual void LoadContent(ResourceManager *pResourceManager) = 0;
39 virtual void Update(
const GameTime *pGameTime) = 0;
43 virtual void Draw(SpriteBatch *pSpriteBatch) = 0;
virtual void Update(const GameTime *pGameTime)=0
Called when the game has determined that game logic needs to be processed.
virtual int GetScrollSpeed() const
Gets the scrolling speed of the background, measured in pixels per second.
Definition: Background.h:49
virtual void LoadContent(ResourceManager *pResourceManager)=0
Called when resources need to be loaded.
virtual void Draw(SpriteBatch *pSpriteBatch)=0
Called when the game determines it is time to draw a frame.
Shooter Library is a library of classes, interfaces, and value types that provides a foundation for d...
Definition: Background.h:16
virtual void UnloadContent()
Called when resources need to be unloaded. Override this method to unload any unneeded resources...
Definition: Background.h:35
Abstract base class for a scrolling background.
Definition: Background.h:20