C# 클래스 PantheonPrototype.TextBubble

파일 보기 프로젝트 열기: Bacon41/PantheonPrototype 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
bubbleImage Microsoft.Xna.Framework.Graphics.Texture2D
entity Entity
position Vector2
readyForDeletion bool
text string

공개 메소드들

메소드 설명
Draw ( SpriteBatch context, SpriteFont textFont, Microsoft.Xna.Framework.Graphics.Texture2D textbubbleImage ) : void

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 ( GameTime gameTime, Pantheon gameReference ) : void

This updates the bubble which mostly is sure to set up the structure defining the ending time.

메소드 상세

Draw() 공개 메소드

Draws the text bubble on the screen at its given position.
public Draw ( SpriteBatch context, SpriteFont textFont, Microsoft.Xna.Framework.Graphics.Texture2D textbubbleImage ) : void
context Microsoft.Xna.Framework.Graphics.SpriteBatch The SpriteBatch the bubble should be drawn on.
textFont Microsoft.Xna.Framework.Graphics.SpriteFont The font used to draw the text bubbles.
textbubbleImage Microsoft.Xna.Framework.Graphics.Texture2D
리턴 void

Load() 공개 메소드

Loads the image for use as a textbubble.
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.
리턴 void

TextBubble() 공개 메소드

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.
public TextBubble ( Entity entity, string text ) : System
entity Entity
text string This text to say.
리턴 System

TextBubble() 공개 메소드

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.
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
리턴 System

TextBubble() 공개 메소드

public TextBubble ( Entity entity, string text, Microsoft.Xna.Framework.Graphics.Texture2D image ) : System
entity Entity
text string
image Microsoft.Xna.Framework.Graphics.Texture2D
리턴 System

TextBubble() 공개 메소드

IT CREATES A TEXT BUBBLE. WOAH.
public TextBubble ( Vector2 position, string text ) : System
position Vector2 The location of the text bubble anchor.
text string This text to say.
리턴 System

TextBubble() 공개 메소드

IT CREATES A TEXT BUBBLE. WOAH.
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
리턴 System

Update() 공개 메소드

This updates the bubble which mostly is sure to set up the structure defining the ending time.
public Update ( GameTime gameTime, Pantheon gameReference ) : void
gameTime Microsoft.Xna.Framework.GameTime
gameReference Pantheon
리턴 void

프로퍼티 상세

bubbleImage 보호되어 있는 프로퍼티

protected Texture2D,Microsoft.Xna.Framework.Graphics bubbleImage
리턴 Microsoft.Xna.Framework.Graphics.Texture2D

entity 보호되어 있는 프로퍼티

protected Entity entity
리턴 Entity

position 보호되어 있는 프로퍼티

protected Vector2 position
리턴 Vector2

readyForDeletion 보호되어 있는 프로퍼티

protected bool readyForDeletion
리턴 bool

text 보호되어 있는 프로퍼티

protected string text
리턴 string