Search
Preparing search index...
The search index is not available
eiaSteroid
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
eiaSteroids
Gun
Class Gun
Describes a laser gun which is just a special
Bar
Hierarchy
Bar
Gun
Index
Constructors
constructor
Properties
fill
Style
max
Value
position
size
stroke
Style
size
Methods
draw
Constructors
constructor
new
Gun
(
_position
:
Vector
)
:
Gun
Parameters
_position:
Vector
Returns
Gun
Properties
fill
Style
fill
Style
:
string
= "green"
max
Value
max
Value
:
number
position
position
:
Vector
size
size
:
Vector
= new Vector(100, 10)
stroke
Style
stroke
Style
:
string
= "white"
Static
Private
size
size
:
Vector
= new Vector(-15, 6)
Methods
draw
draw
(
_charge
:
number
, _strokeStyle
?:
string
)
:
void
Parameters
_charge:
number
Default value
_strokeStyle:
string
= "white"
Returns
void
eia
Steroids
Gun
constructor
fill
Style
max
Value
position
size
stroke
Style
size
draw
Generated using
TypeDoc
Describes a laser gun which is just a special Bar