PokéRogue
GitHub
Switch to Main
Preparing search index...
test/test-utils/mocks/mock-game-object
MockGameObject
Interface MockGameObject
interface
MockGameObject
{
active
:
boolean
;
name
:
string
;
destroy
?
()
:
void
;
setActive
(
active
:
boolean
)
:
this
;
setName
(
name
:
string
)
:
this
;
}
Implemented by
MockContainer
MockGraphics
MockRectangle
MockSprite
MockText
MockTexture
MockVideoGameObject
Index
Properties
active
name
Methods
destroy?
set
Active
set
Name
Properties
active
active
:
boolean
name
name
:
string
Methods
Optional
destroy
destroy
?
()
:
void
Returns
void
set
Active
setActive
(
active
:
boolean
)
:
this
Parameters
active
:
boolean
Returns
this
set
Name
setName
(
name
:
string
)
:
this
Parameters
name
:
string
Returns
this
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
active
name
Methods
destroy
set
Active
set
Name
GitHub
Switch to Main
PokéRogue
Loading...