C# 클래스 FontEffectsLib.FontTypes.ArcadeFont

An arcade-style font which rapidly cycles through colors.
상속: ShadowFont
파일 보기 프로젝트 열기: GreatMindsRobotics/FontEffectsLib 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
_colorCyclesPerSecond float
currentColor int

공개 메소드들

메소드 설명
ArcadeFont ( SpriteFont font, Vector2 position ) : System

Create a new instance of ArcadeFont.

ArcadeFont ( SpriteFont font, Vector2 position, String text, float colorChangeDelay ) : System

Create a new instance of ArcadeFont.

Update ( GameTime gameTime ) : void

Update this ArcadeFont.

메소드 상세

ArcadeFont() 공개 메소드

Create a new instance of ArcadeFont.
public ArcadeFont ( SpriteFont font, Vector2 position ) : System
font Microsoft.Xna.Framework.Graphics.SpriteFont The font to render.
position Vector2 The position of the font.
리턴 System

ArcadeFont() 공개 메소드

Create a new instance of ArcadeFont.
public ArcadeFont ( SpriteFont font, Vector2 position, String text, float colorChangeDelay ) : System
font Microsoft.Xna.Framework.Graphics.SpriteFont The font to render.
position Vector2 The position of the font.
text String The text to display.
colorChangeDelay float The number of times to cycle through in one second.
리턴 System

Update() 공개 메소드

Update this ArcadeFont.
public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime The current , representing the time elapsed over the course of the game.
리턴 void

프로퍼티 상세

_colorCyclesPerSecond 보호되어 있는 프로퍼티

The number of times to cycle through FontColors in one second.
protected float _colorCyclesPerSecond
리턴 float

currentColor 보호되어 있는 프로퍼티

The index of the current color in FontColors.
protected int currentColor
리턴 int