Method | Description | |
---|---|---|
applyGravity ( |
This function changes the speed of the object based on its proximity to its Planet instance
|
|
applyGravity ( Player p ) : void |
This function changes the speed of the object based on its proximity to its Planet instance
|
public applyGravity ( |
||
b | An instance to a Bullet | |
return | void |
public applyGravity ( Player p ) : void | ||
p | Player | An instance to a player |
return | void |