ScreenService MembersRapidGame Class Library

[This is preliminary documentation and is subject to change.]

The ScreenService type exposes the following members.

Constructors

  NameDescription
Public methodScreenService
Let RapidEngine know this Service Draws to the screen
Top
Methods

  NameDescription
Public methodDraw
Draws the top game screen, and then if there is a popup screen draws the top popup screen on top of the game screen - Adjusts depending on whether the screens are loading or not
(Overrides RapidService Draw(GameTime).)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInit (Overrides RapidService Init .)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPause
Public methodRemove
Remove the top game screen
Public methodRemovePopup
Remove the top popup
Public methodShow
Add a new game screen to the top of the stack - You cannot add a game screen multiple times
Public methodShowPopup
Add a new popup screen to the top of the stack - You cannot add a popup screen multiple times
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdate
Update either the top popup screen or the top game screen - Adjusts according to if the screen has a loadscreen or on
(Overrides RapidService Update(GameTime).)
Top
Fields

  NameDescription
Public fieldDrawEnabled
DrawEnabled: tells RapidEngine if this Service needs to draw anything
(Inherited from RapidService.)
Public fieldEngine
Engine instance for the Service to use
(Inherited from RapidService.)
Top
Properties

  NameDescription
Public propertyPaused
Top
See Also