Property | Type | Description | |
---|---|---|---|
GRAVITY | float | ||
resistance | float | ||
speed | Vector2 | ||
timeAlive | System.TimeSpan |
Method | Description | |
---|---|---|
IsCollided ( |
||
Lift ( Vector2 spaceshipCenter, float pullAcceleration, Vector2 beamPosition, int beamWidth ) : void | ||
LiftObject ( Vector2 position, float resistance, |
||
Update ( |
Method | Description | |
---|---|---|
IsInBeamRange ( Vector2 beamPosition, int beamWidth ) : bool |
public IsCollided ( |
||
liftObject | ||
return | bool |
public Lift ( Vector2 spaceshipCenter, float pullAcceleration, Vector2 beamPosition, int beamWidth ) : void | ||
spaceshipCenter | Vector2 | |
pullAcceleration | float | |
beamPosition | Vector2 | |
beamWidth | int | |
return | void |
public LiftObject ( Vector2 position, float resistance, |
||
position | Vector2 | |
resistance | float | |
manager | ||
points | int | |
healthModifier | int | |
return | System |
public Update ( |
||
gameTime | ||
return | void |