atrybuty obiektu gry

// a game object for your custom games engine may have these attributes
public position: Vector
public width: number
public color: string
public velocity: Vector
public name: string
public hasDefaultGravity: boolean = false
public terminalVelocity: number = 10
Himanshu Jangid