NoneBulletValue

NoneBulletValue class

Represents no bullet.

class NoneBulletValue extends BulletValue;

Constructors

NameDescription
constructor(BulletValue)Constructs from a parent object convertible to this.
constructor()Default Constructor.

Methods

MethodDescription
getType()Gets the type of the bullet’s value.

constructor(BulletValue)

Constructs from a parent object convertible to this.

constructor(obj: BulletValue);

Parameters:

ParameterTypeDescription
objBulletValueThe parent object.

constructor()

Default Constructor.

constructor();

getType()

Gets the type of the bullet’s value.

getType() : BulletType;

Returns

BulletType