CodeSubWars 0.4.7b
ARSTD::PushCommand Class Reference

#include <BasicCommands.h>

Inheritance diagram for ARSTD::PushCommand:

Public Member Functions

virtual ARSTD::Command::PtrType copy () const
virtual std::string getName () const
- Public Member Functions inherited from ARSTD::Command
virtual PtrType copy () const =0
virtual std::string getName () const =0
virtual bool wasExecuted () const
virtual double getProgress () const

Static Public Member Functions

static PtrType create ()

Detailed Description

This command makes the current command processor context beeing copied and stored to the top of a stack.

Member Function Documentation

◆ copy()

ARSTD::Command::PtrType ARSTD::PushCommand::copy ( ) const

Returns a copy of the command.

The copied command.

Implements ARSTD::Command.

◆ create()

PushCommand::PtrType ARSTD::PushCommand::create ( )

Creates a new PushCommand command.

Returns the new constructed command.

◆ getName()

std::string ARSTD::PushCommand::getName ( ) const

Returns the name of the command.

The name of the command.

Implements ARSTD::Command.

Generated at Sun Aug 7 2022 for project CodeSubWars.