C new GameObject( position: Vector, width: number, color: string, velocity: Vector, name: string ) → {void}
Parameters:
Name | Type | Description |
---|---|---|
position |
Vector | position of the object |
width |
number | width of the object |
color |
string | color of the object |
velocity |
Vector | velocity of the object |
name |
string | name of the object |