Ookma-Kyi Core

DuelActionFactory extends Factory
in package

Tags
extends

Factory<DuelAction>

Table of Contents

Methods

challenger()  : static
Set the move actor to challenger.
definition()  : array<string, mixed>
Define the model's default state.
opponent()  : static
Set the move actor to opponent.
order()  : static
Set the order of the move.
type()  : static
Configure the factory to create a specific type of move.

Methods

challenger()

Set the move actor to challenger.

public challenger() : static
Return values
static

definition()

Define the model's default state.

public definition() : array<string, mixed>
Return values
array<string, mixed>

opponent()

Set the move actor to opponent.

public opponent() : static
Return values
static

order()

Set the order of the move.

public order(int $order) : static
Parameters
$order : int
Return values
static

type()

Configure the factory to create a specific type of move.

public type(int $type) : static
Parameters
$type : int
Return values
static

        
On this page

Search results