C# 클래스 Category5.HealthBar

파일 보기 프로젝트 열기: AnyKey/tojam4

공개 프로퍼티들

프로퍼티 타입 설명
height int
location Vector2
width int

공개 메소드들

메소드 설명
Draw ( Rectangle rectangle, Color FullColour, Color MidColour, Color LowColour, float percent ) : void
Draw ( Rectangle rectangle, float percent ) : void
Initialize ( TornadoGame g ) : void

메소드 상세

Draw() 공개 정적인 메소드

public static Draw ( Rectangle rectangle, Color FullColour, Color MidColour, Color LowColour, float percent ) : void
rectangle Microsoft.Xna.Framework.Rectangle
FullColour Color
MidColour Color
LowColour Color
percent float
리턴 void

Draw() 공개 정적인 메소드

public static Draw ( Rectangle rectangle, float percent ) : void
rectangle Microsoft.Xna.Framework.Rectangle
percent float
리턴 void

Initialize() 공개 정적인 메소드

public static Initialize ( TornadoGame g ) : void
g TornadoGame
리턴 void

프로퍼티 상세

height 공개적으로 정적으로 프로퍼티

public static int height
리턴 int

location 공개적으로 정적으로 프로퍼티

public static Vector2 location
리턴 Vector2

width 공개적으로 정적으로 프로퍼티

public static int width
리턴 int