Sword Engine

Class: Rectangle

C new Rectangle( position: Vector, width: number, height: number, color: string, velocity: Vector, name: string ) → {void}

Parameters:
Name Type Description
position Vector
width number
height number
color string
velocity Vector
name string

Methods

S M draw( )

S M rotate( angle: number )

Parameters:
Name Type Description
angle number
Made By Vedik Dev - Himanshu Jangid
sword-engine Copyright © 2021 Himanshu.
Documentation generated by JSDoc 3.6.7 on Tue Nov 30 2021 23:12:55 GMT+0530 (India Standard Time) using the TSDoc template.