Class: Boomerang

acme.Boomerang(material)

Boomerang SKU

Namespace is inherited from index acme namespace

Constructor

new Boomerang(material)

Create a boomerang

Parameters:
Name Type Description
material string

Wood, plastic, etc.

Source:

Extends

Members

material :string

Wood, plastic, etc.

Type:
  • string
Source:

Methods

buy(quantityopt)

Add product to basket

Parameters:
Name Type Attributes Default Description
quantity number <optional>
1

Number of products

Inherited From:
Source:

throwAt(angle)

Throw the boomerang at an angle

Parameters:
Name Type Description
angle number

Angle in degrees

Source: