Search
Preparing search index...
The search index is not available
fifth-aeon-bot-toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"cards/targeters/unitTypeTargeter"
UnitOfType
Class UnitOfType
Hierarchy
Targeter
UnitOfType
Index
Constructors
constructor
Properties
optional
targets
type
use
Pronoun
id
Methods
get
Id
get
Last
Targets
get
Pronoun
get
Targets
get
Text
get
Text
OrPronoun
get
Valid
Targets
is
Optional
is
Targetable
needs
Input
set
Optional
set
Targets
should
Use
Pronoun
targets
Are
Valid
get
Id
Constructors
constructor
new
Unit
OfType
(
type
:
UnitType
)
:
UnitOfType
Parameters
type:
UnitType
Returns
UnitOfType
Properties
Protected
optional
optional
:
boolean
= false
Protected
targets
targets
:
Array
<
Unit
>
= []
Private
type
type
:
UnitType
Protected
use
Pronoun
use
Pronoun
:
boolean
= false
Static
Protected
id
id
:
string
= "UnitOfType"
Methods
get
Id
get
Id
(
)
:
string
Returns
string
get
Last
Targets
get
Last
Targets
(
)
:
Unit
[]
Returns
Unit
[]
get
Pronoun
get
Pronoun
(
)
:
string
Returns
string
get
Targets
get
Targets
(
card
:
Card
, game
:
Game
, mechanic
?:
Mechanic
)
:
Array
<
Unit
>
Parameters
card:
Card
game:
Game
Optional
mechanic:
Mechanic
Returns
Array
<
Unit
>
get
Text
get
Text
(
)
:
string
Returns
string
get
Text
OrPronoun
get
Text
OrPronoun
(
)
:
string
Returns
string
get
Valid
Targets
get
Valid
Targets
(
card
:
Card
, game
:
Game
)
:
Unit
[]
Parameters
card:
Card
game:
Game
Returns
Unit
[]
is
Optional
is
Optional
(
)
:
boolean
Returns
boolean
is
Targetable
is
Targetable
(
card
:
Card
, game
:
Game
)
:
boolean
Parameters
card:
Card
game:
Game
Returns
boolean
needs
Input
needs
Input
(
)
:
boolean
Returns
boolean
set
Optional
set
Optional
(
val
:
boolean
)
:
this
Parameters
val:
boolean
Returns
this
set
Targets
set
Targets
(
target
:
Array
<
Unit
>
)
:
void
Parameters
target:
Array
<
Unit
>
Returns
void
should
Use
Pronoun
should
Use
Pronoun
(
usePronoun
:
boolean
)
:
void
Parameters
usePronoun:
boolean
Returns
void
targets
Are
Valid
targets
Are
Valid
(
card
:
Card
, game
:
Game
)
:
boolean
Parameters
card:
Card
game:
Game
Returns
boolean
Static
get
Id
get
Id
(
)
:
string
Returns
string
Globals
"cards/targeters/unit
Type
Targeter"
Friendly
Units
OfType
Unit
OfType
constructor
optional
targets
type
use
Pronoun
id
get
Id
get
Last
Targets
get
Pronoun
get
Targets
get
Text
get
Text
OrPronoun
get
Valid
Targets
is
Optional
is
Targetable
needs
Input
set
Optional
set
Targets
should
Use
Pronoun
targets
Are
Valid
get
Id
Units
Not
OfType
Units
OfType
Units
OfType
AsTarget
Generated using
TypeDoc