프로퍼티 | 타입 | 설명 | |
---|---|---|---|
gradientTexture | Microsoft.Xna.Framework.Graphics.Texture2D | ||
message | string |
메소드 | 설명 | |
---|---|---|
Draw ( |
Draws the message box.
|
|
HandleInput ( |
Responds to user input, accepting or cancelling the message box.
|
|
LoadContent ( ) : void |
Loads graphics content for this screen. This uses the shared ContentManager provided by the Game class, so the content will remain loaded forever. Whenever a subsequent MessageBoxScreen tries to load this same content, it will just get back another reference to the already loaded data.
|
|
MessageBoxScreen ( string message ) : System |
Constructor automatically includes the standard "A=ok, B=cancel" usage text prompt.
|
|
MessageBoxScreen ( string message, bool includeUsageText ) : System |
Constructor lets the caller specify whether to include the standard "A=ok, B=cancel" usage text prompt.
|
public Draw ( |
||
gameTime | ||
리턴 | void |
public HandleInput ( |
||
input | ||
리턴 | void |
public MessageBoxScreen ( string message ) : System | ||
message | string | |
리턴 | System |
public MessageBoxScreen ( string message, bool includeUsageText ) : System | ||
message | string | |
includeUsageText | bool | |
리턴 | System |
protected Texture2D,Microsoft.Xna.Framework.Graphics gradientTexture | ||
리턴 | Microsoft.Xna.Framework.Graphics.Texture2D |