CharacterBulletValue

CharacterBulletValue class

Represents the character bullet.

class CharacterBulletValue 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.
getCharacter()Gets and sets character of the bullet.
setCharacter(string)Gets and sets character of the bullet.
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.

getType() : BulletType;

Returns

BulletType

getCharacter()

Gets and sets character of the bullet.

getCharacter() : string;

setCharacter(string)

Gets and sets character of the bullet.

setCharacter(value: string) : void;

Parameters:

ParameterTypeDescription
valuestringThe value to set.

isNull()

Checks whether the implementation object is null.

isNull() : boolean;