C# 클래스 hyades.entity.Enemy

상속: Entity
파일 보기 프로젝트 열기: zfedoran/bubblebound

공개 프로퍼티들

프로퍼티 타입 설명
body hyades.physics.PressureBody
max_speed float
player Character
radius float
rand System.Random
shape hyades.physics.Shape
target Vector2

공개 메소드들

메소드 설명
Draw ( GraphicsDevice device, Camera camera ) : void
Enemy ( ) : System
SetPosition ( Vector2 position ) : void
SetVelocity ( Vector2 velocity ) : void
Update ( double elapsed ) : void
UpdateTarget ( Physics physics, double elapsed ) : void

비공개 메소드들

메소드 설명
LimitSpeed ( ) : void

메소드 상세

Draw() 공개 메소드

public Draw ( GraphicsDevice device, Camera camera ) : void
device GraphicsDevice
camera Camera
리턴 void

Enemy() 공개 메소드

public Enemy ( ) : System
리턴 System

SetPosition() 공개 메소드

public SetPosition ( Vector2 position ) : void
position Vector2
리턴 void

SetVelocity() 공개 메소드

public SetVelocity ( Vector2 velocity ) : void
velocity Vector2
리턴 void

Update() 공개 메소드

public Update ( double elapsed ) : void
elapsed double
리턴 void

UpdateTarget() 공개 메소드

public UpdateTarget ( Physics physics, double elapsed ) : void
physics hyades.physics.Physics
elapsed double
리턴 void

프로퍼티 상세

body 공개적으로 프로퍼티

public PressureBody,hyades.physics body
리턴 hyades.physics.PressureBody

max_speed 공개적으로 프로퍼티

public float max_speed
리턴 float

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

public static Character,hyades.entity player
리턴 Character

radius 공개적으로 프로퍼티

public float radius
리턴 float

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

public static Random,System rand
리턴 System.Random

shape 공개적으로 프로퍼티

public Shape,hyades.physics shape
리턴 hyades.physics.Shape

target 공개적으로 프로퍼티

public Vector2 target
리턴 Vector2