프로퍼티 | 타입 | 설명 | |
---|---|---|---|
power | float |
메소드 | 설명 | |
---|---|---|
SimpleExplosion ( |
||
activate ( Vector2 pos, float radius, float force, float maxForce = float.MaxValue ) : Vector2>.Dictionary |
Activate the explosion at the specified position.
|
메소드 | 설명 | |
---|---|---|
GetPercent ( float distance, float radius ) : float | ||
applyImpulse ( Vector2 pos, float radius, float force, float maxForce, HashSet overlappingBodies ) : Vector2>.Dictionary |
public SimpleExplosion ( |
||
world | ||
리턴 | System |
public activate ( Vector2 pos, float radius, float force, float maxForce = float.MaxValue ) : Vector2>.Dictionary | ||
pos | Vector2 | The position (center) of the explosion. |
radius | float | The radius of the explosion. |
force | float | The force applied |
maxForce | float | A maximum amount of force. When force gets over this value, it will be equal to maxForce |
리턴 | Vector2>.Dictionary |