C# Class hyades.entity.Bubble

Inheritance: Entity
Show file Open project: zfedoran/bubblebound Class Usage Examples

Public Properties

Property Type Description
alpha float
body hyades.physics.PressureBody
curr_size int
k float[]
max_speed float
popped bool
pressure float[]
scale float
shape hyades.physics.Shape

Public Methods

Method Description
Bubble ( float scale ) : System
DecreaseSize ( ) : void
Draw ( GraphicsDevice device, Camera camera ) : void
DrawReflection ( GraphicsDevice device, Camera camera ) : void
IncreaseSize ( ) : void
SetPosition ( Vector2 position ) : void
SetSize ( int size ) : void
SetVelocity ( Vector2 velocity ) : void
Update ( double elapsed ) : void

Private Methods

Method Description
Bubble ( ) : System

Method Details

Bubble() public method

public Bubble ( float scale ) : System
scale float
return System

DecreaseSize() public method

public DecreaseSize ( ) : void
return void

Draw() public method

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

DrawReflection() public method

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

IncreaseSize() public method

public IncreaseSize ( ) : void
return void

SetPosition() public method

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

SetSize() public method

public SetSize ( int size ) : void
size int
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

Property Details

alpha public property

public float alpha
return float

body public property

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

curr_size public property

public int curr_size
return int

k public static property

public static float[] k
return float[]

max_speed public property

public float max_speed
return float

popped public property

public bool popped
return bool

pressure public static property

public static float[] pressure
return float[]

scale public property

public float scale
return float

shape public property

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