C# Class hyades.entity.Enemy

Inheritance: Entity
ファイルを表示 Open project: zfedoran/bubblebound

Public Properties

Property Type Description
body hyades.physics.PressureBody
max_speed float
player Character
radius float
rand System.Random
shape hyades.physics.Shape
target Vector2

Public Methods

Method Description
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

Private Methods

Method Description
LimitSpeed ( ) : void

Method Details

Draw() public method

public Draw ( GraphicsDevice device, Camera camera ) : void
device GraphicsDevice
camera Camera
return void

Enemy() public method

public Enemy ( ) : System
return System

SetPosition() public method

public SetPosition ( Vector2 position ) : void
position Vector2
return void

SetVelocity() public method

public SetVelocity ( Vector2 velocity ) : void
velocity Vector2
return void

Update() public method

public Update ( double elapsed ) : void
elapsed double
return void

UpdateTarget() public method

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

Property Details

body public_oe property

public PressureBody,hyades.physics body
return hyades.physics.PressureBody

max_speed public_oe property

public float max_speed
return float

player public_oe static_oe property

public static Character,hyades.entity player
return Character

radius public_oe property

public float radius
return float

rand public_oe static_oe property

public static Random,System rand
return System.Random

shape public_oe property

public Shape,hyades.physics shape
return hyades.physics.Shape

target public_oe property

public Vector2 target
return Vector2