C# 클래스 TugOfBaby.BloodManager

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

공개 메소드들

메소드 설명
AngleBetween ( Vector2 a, Vector2 b ) : float
BloodManager ( Microsoft.Xna.Framework.Content.ContentManager _Content ) : System
Draw ( SpriteBatch spriteBatch ) : void
Update ( GameTime _gameTime ) : void
addBlood ( Vector2 position, Vector2 position2 ) : void

비공개 메소드들

메소드 설명
addBlood ( string type, Vector2 position, float rotation ) : void
checkList ( int listCount, int listMax ) : bool

메소드 상세

AngleBetween() 공개 메소드

public AngleBetween ( Vector2 a, Vector2 b ) : float
a Vector2
b Vector2
리턴 float

BloodManager() 공개 메소드

public BloodManager ( Microsoft.Xna.Framework.Content.ContentManager _Content ) : System
_Content Microsoft.Xna.Framework.Content.ContentManager
리턴 System

Draw() 공개 메소드

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

Update() 공개 메소드

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

addBlood() 공개 메소드

public addBlood ( Vector2 position, Vector2 position2 ) : void
position Vector2
position2 Vector2
리턴 void