C# 클래스 spaceconquest.ProgressBar

상속: MenuComponent
파일 보기 프로젝트 열기: cclay/spaceconquest 1 사용 예제들

공개 메소드들

메소드 설명
Contains ( int x, int y ) : bool
Draw ( ) : void
ProgressBar ( int x, int y, int width, int height, int goalNumber, bool isVertical, Color barColor ) : System

Constructor for a progresBar widget for menu manager

SetCurrentNumber ( int curNum ) : void
SetGoalNumber ( int num ) : void
SetVertical ( bool isVertical ) : void

메소드 상세

Contains() 공개 메소드

public Contains ( int x, int y ) : bool
x int
y int
리턴 bool

Draw() 공개 메소드

public Draw ( ) : void
리턴 void

ProgressBar() 공개 메소드

Constructor for a progresBar widget for menu manager
public ProgressBar ( int x, int y, int width, int height, int goalNumber, bool isVertical, Color barColor ) : System
x int
y int
width int GUI width of bar
height int GUI height ofb ar
goalNumber int The number that indicates progressBar is full
isVertical bool sets orientation of progress bar
barColor Color color of bar
리턴 System

SetCurrentNumber() 공개 메소드

public SetCurrentNumber ( int curNum ) : void
curNum int
리턴 void

SetGoalNumber() 공개 메소드

public SetGoalNumber ( int num ) : void
num int
리턴 void

SetVertical() 공개 메소드

public SetVertical ( bool isVertical ) : void
isVertical bool
리턴 void