Class: ModelCircle

app01a/model/ModelCircle~ ModelCircle


new ModelCircle( [p_config])

Parameters:
Name Type Argument Description
p_config Object <optional>
Properties
Name Type Argument Default Description
r number <optional>
0
x number <optional>
0
y number <optional>
0
vx number <optional>
0
vy number <optional>
0
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
Source:

Methods


update(p_delta_s)

Parameters:
Name Type Description
p_delta_s number time in seconds since last call (max 1/60)
Source: