Reference Source Test
public class | source

Ability

Direct Subclass:

FireStrike, IceAttack, Run

Base class representing a single player ability

Constructor Summary

Public Constructor
public

constructor(name: String, type: String)

Default constructor

Member Summary

Public Members
public

Static ability data from the abilities dictionary

public

The current level of the ability

public

The name identifier of the ability

public

The type category of the ability

Public Constructors

public constructor(name: String, type: String) source

Default constructor

Params:

NameTypeAttributeDescription
name String

the name identifier of the ability

type String

the type category of the ability

Public Members

public data: Object source

Static ability data from the abilities dictionary

public level: Number source

The current level of the ability

public name: String source

The name identifier of the ability

public type: String source

The type category of the ability