C# 클래스 Danmaku_no_Kyojin.Sprites.AnimatedSprite

파일 보기 프로젝트 열기: Noxalus/Danmaku-no-Kyojin 1 사용 예제들

공개 메소드들

메소드 설명
AnimatedSprite ( Microsoft.Xna.Framework.Graphics.Texture2D sprite, Animation animation, Vector2 position ) : System.Collections.Generic
AnimatedSprite ( Microsoft.Xna.Framework.Graphics.Texture2D sprite, Animation>.Dictionary animation, Vector2 position ) : System.Collections.Generic
ChangeFramesPerSecond ( int newValue ) : void
Draw ( GameTime gameTime, SpriteBatch spriteBatch ) : void
Draw ( GameTime gameTime, SpriteBatch spriteBatch, Color color, float rotation, Vector2 origin, Vector2 scale, SpriteEffects effects, float layerDepth ) : void
Play ( int playCount = 1 ) : void
Update ( GameTime gameTime ) : void

메소드 상세

AnimatedSprite() 공개 메소드

public AnimatedSprite ( Microsoft.Xna.Framework.Graphics.Texture2D sprite, Animation animation, Vector2 position ) : System.Collections.Generic
sprite Microsoft.Xna.Framework.Graphics.Texture2D
animation Animation
position Vector2
리턴 System.Collections.Generic

AnimatedSprite() 공개 메소드

public AnimatedSprite ( Microsoft.Xna.Framework.Graphics.Texture2D sprite, Animation>.Dictionary animation, Vector2 position ) : System.Collections.Generic
sprite Microsoft.Xna.Framework.Graphics.Texture2D
animation Animation>.Dictionary
position Vector2
리턴 System.Collections.Generic

ChangeFramesPerSecond() 공개 메소드

public ChangeFramesPerSecond ( int newValue ) : void
newValue int
리턴 void

Draw() 공개 메소드

public Draw ( GameTime gameTime, SpriteBatch spriteBatch ) : void
gameTime Microsoft.Xna.Framework.GameTime
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
리턴 void

Draw() 공개 메소드

public Draw ( GameTime gameTime, SpriteBatch spriteBatch, Color color, float rotation, Vector2 origin, Vector2 scale, SpriteEffects effects, float layerDepth ) : void
gameTime Microsoft.Xna.Framework.GameTime
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
color Color
rotation float
origin Vector2
scale Vector2
effects SpriteEffects
layerDepth float
리턴 void

Play() 공개 메소드

public Play ( int playCount = 1 ) : void
playCount int
리턴 void

Update() 공개 메소드

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void