new ModelCircle( [p_config])
Parameters:
Name | Type | Argument | Description | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
p_config |
Object |
<optional> |
Properties
|
- Source:
Properties:
Name | Type | Description |
---|---|---|
r |
number | the radius of the circle |
x |
number | the x position of the circle |
y |
number | the y position of the circle |
vx |
number | the x velocity of the circle |
vy |
number | the y velocity of the circle |
Methods
-
update(p_delta_s)
-
Parameters:
Name Type Description p_delta_s
number time in seconds since last call (max 1/60) - Source: