CommandPattern 1.0.0
This package contains a collection of classes and interfaces to allow for quick and consistent implementation of the command pattern across projects.
Public Member Functions | List of all members
SadSapphicGames.CommandPattern.IFailable Interface Reference

Interface implemented by commands that could fail to execute. Commands that would fail do not have their execute method invoked and are not recorded in the CommandStream's history More...

Public Member Functions

bool WouldFail ()
 Determine if the implementing command would be able to be executed or if it would fail More...
 

Detailed Description

Interface implemented by commands that could fail to execute. Commands that would fail do not have their execute method invoked and are not recorded in the CommandStream's history

Member Function Documentation

◆ WouldFail()

bool SadSapphicGames.CommandPattern.IFailable.WouldFail ( )

Determine if the implementing command would be able to be executed or if it would fail

Returns
True if the implementing command would fail, false if it would execute successfully.

The documentation for this interface was generated from the following file: