RecycleAction Class

Represents the action of recycling puzzles. The player chooses a row to recycle. The puzzles from the row will be put to the bottom of the deck in the order specified by the player. The puzzle row is then refilled.

Definition

Namespace: ProjectLCore.GameActions
Assembly: ProjectLCore (in ProjectLCore.dll) Version: 1.0.0+d0f5e2a7a5f4bb0431970f279d2f79d24b15d256
C#
public class RecycleAction : GameAction
Inheritance
Object    GameAction    RecycleAction

Constructors

RecycleAction Initializes a new instance of the RecycleAction class.

Properties

Option The color of the row to recycle.
Order Return the order in which the puzzles will be put to the bottom of the deck. Smaller index means that the puzzle will be recycled earlier.

Methods

Accept Accepts the specified visitor by calling the appropriate method.
(Inherited from GameAction)
AcceptAsync Asynchronously accepts the specified visitor by calling the appropriate method.
(Inherited from GameAction)
ToString Converts to string. States the color of the row to recycle and the order in which the puzzles will be recycled.
(Overrides ObjectToString)

See Also