CharacterBulletValue

CharacterBulletValue class

Represents the character bullet.

class CharacterBulletValue extends BulletValue;

Constructors

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

Properties

PropertyTypeDescription
characterstringGets and sets character of the bullet.

Methods

MethodDescription
getCharacter()@deprecated. Please use the ‘character’ property instead. Gets and sets character of the bullet.
setCharacter(string)@deprecated. Please use the ‘character’ property instead. Gets and sets character of the bullet.
isNull()Checks whether the implementation object is null.
getType()Gets the type of the bullet.

constructor(BulletValue)

Constructs from a parent object convertible to this.

constructor(obj: BulletValue);

Parameters:

ParameterTypeDescription
objBulletValueThe parent object.

constructor()

Default Constructor.

constructor();

character

Gets and sets character of the bullet.

character : string;

getCharacter()

@deprecated. Please use the ‘character’ property instead. Gets and sets character of the bullet.

getCharacter() : string;

setCharacter(string)

@deprecated. Please use the ‘character’ property instead. 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;

getType()

Gets the type of the bullet.

getType() : BulletType;

Returns

BulletType