Enum sc2::MeleeCell [] [src]

pub enum MeleeCell {
    Init(Init),
    Setup(Setup),
    Launch(Launch),
    PlayerVsPlayer(PlayerVsPlayer),
    PlayerVsComputer(PlayerVsComputer),
    Completed(Completed),
}

cell designed to pit two bots against each other in Sc2 games

Variants

wait for soma to gather effector, inputs, and outputs

fetch player info in order to decide how many instances it needs

gather instances and game ports, then transition to PVP or PVC

coordinate two instances for player vs player

coordinate one instance for player vs the built-in Sc2 AI

melee suite is exhausted and organelle is awaiting shutdown

Methods

impl MeleeCell
[src]

[src]

create the melee organelle

Trait Implementations

impl Cell for MeleeCell
[src]

user-defined message to be passed between cells

user-defined roles for connections

[src]

apply any changes to the cell's state as a result of _msg

[src]

spin up an event loop and run cell