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.
isNull()Checks whether the implementation object is null.

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

isNull()

Checks whether the implementation object is null.

isNull() : boolean;