C# 클래스 SpaceShip.Logic.Planet

상속: GameObject
파일 보기 프로젝트 열기: pmyoung/Advanced-Game-Project 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
fixedPosition bool

공개 메소드들

메소드 설명
calculateGravity ( ) : void
isFixed ( ) : bool
loadPlanets ( string fileString, Map map ) : void
updatePosition ( ) : void

보호된 메소드들

메소드 설명
Planet ( int spriteID = -1, float x, float y, int radius = 10, int mass = 10, bool fixedPos = true ) : System

비공개 메소드들

메소드 설명
loadMoons ( String fileString, Map map ) : void
loadPlanetPropriety ( string propriety ) : Planet
setUpMoons ( int spriteId, int number, int radius, int d, int mass, Map map ) : void

메소드 상세

Planet() 보호된 메소드

protected Planet ( int spriteID = -1, float x, float y, int radius = 10, int mass = 10, bool fixedPos = true ) : System
spriteID int
x float
y float
radius int
mass int
fixedPos bool
리턴 System

calculateGravity() 공개 메소드

public calculateGravity ( ) : void
리턴 void

isFixed() 공개 메소드

public isFixed ( ) : bool
리턴 bool

loadPlanets() 공개 정적인 메소드

public static loadPlanets ( string fileString, Map map ) : void
fileString string
map Map
리턴 void

updatePosition() 공개 메소드

public updatePosition ( ) : void
리턴 void

프로퍼티 상세

fixedPosition 보호되어 있는 프로퍼티

protected bool fixedPosition
리턴 bool