Property | Type | Description | |
---|---|---|---|
bubbleImage | Microsoft.Xna.Framework.Graphics.Texture2D | ||
entity | Entity | ||
position | Vector2 | ||
readyForDeletion | bool | ||
text | string |
Method | Description | |
---|---|---|
Draw ( |
Draws the text bubble on the screen at its given position.
|
|
Load ( Microsoft.Xna.Framework.Content.ContentManager content, string imageName ) : void |
Loads the image for use as a textbubble.
|
|
TextBubble ( Entity entity, string text ) : System |
IT CREATES A TEXT BUBBLE. WOAH. Also anchors it to a character. NOTE: At the moment this will just hook it to the character at that current point, it will not follow, while that could be possible in the future.
|
|
TextBubble ( Entity entity, string text, Microsoft.Xna.Framework.Content.ContentManager content, string imageName ) : System |
IT CREATES A TEXT BUBBLE. WOAH. Also anchors it to a character. NOTE: At the moment this will just hook it to the character at that current point, it will not follow, while that could be possible in the future.
|
|
TextBubble ( Entity entity, string text, Microsoft.Xna.Framework.Graphics.Texture2D image ) : System | ||
TextBubble ( Vector2 position, string text ) : System |
IT CREATES A TEXT BUBBLE. WOAH.
|
|
TextBubble ( Vector2 position, string text, Microsoft.Xna.Framework.Graphics.Texture2D image ) : System |
IT CREATES A TEXT BUBBLE. WOAH.
|
|
Update ( |
This updates the bubble which mostly is sure to set up the structure defining the ending time.
|
public Draw ( |
||
context | The SpriteBatch the bubble should be drawn on. | |
textFont | The font used to draw the text bubbles. | |
textbubbleImage | Microsoft.Xna.Framework.Graphics.Texture2D | |
return | void |
public Load ( Microsoft.Xna.Framework.Content.ContentManager content, string imageName ) : void | ||
content | Microsoft.Xna.Framework.Content.ContentManager | The content manager to load the image from. |
imageName | string | The name of the image to load. |
return | void |
public TextBubble ( Entity entity, string text ) : System | ||
entity | Entity | |
text | string | This text to say. |
return | System |
public TextBubble ( Entity entity, string text, Microsoft.Xna.Framework.Content.ContentManager content, string imageName ) : System | ||
entity | Entity | |
text | string | This text to say. |
content | Microsoft.Xna.Framework.Content.ContentManager | |
imageName | string | |
return | System |
public TextBubble ( Entity entity, string text, Microsoft.Xna.Framework.Graphics.Texture2D image ) : System | ||
entity | Entity | |
text | string | |
image | Microsoft.Xna.Framework.Graphics.Texture2D | |
return | System |
public TextBubble ( Vector2 position, string text ) : System | ||
position | Vector2 | The location of the text bubble anchor. |
text | string | This text to say. |
return | System |
public TextBubble ( Vector2 position, string text, Microsoft.Xna.Framework.Graphics.Texture2D image ) : System | ||
position | Vector2 | The location of the text bubble anchor. |
text | string | This text to say. |
image | Microsoft.Xna.Framework.Graphics.Texture2D | |
return | System |
public Update ( |
||
gameTime | ||
gameReference | ||
return | void |
protected Texture2D,Microsoft.Xna.Framework.Graphics bubbleImage | ||
return | Microsoft.Xna.Framework.Graphics.Texture2D |