Inheritance Hierarchy
Drench.Logics Logic
Drench.Logics SinglePlayerLogic
Drench.Logics TwoPlayerLogic
Namespace: Drench.Logics
Assembly: Drench (in Drench.exe) Version: 1.1.1.0 (1.1.1)
Syntax
The Logic type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | Logic(Board Data, Vector2D ) | Initializes a new instance of the Logic class |
![]() | Logic(Int32, Int32, Vector2D ) | Initializes a new instance of the Logic class |
Methods
Name | Description | |
---|---|---|
![]() | CheckForGameOver | |
![]() | GameOver | |
![]() | GetPlayerScore | |
![]() | GetPlayerTurnsTaken | |
![]() | MakeMove | |
![]() | Pass | |
![]() | Reset |
Fields
Name | Description | |
---|---|---|
![]() | homeSquares | |
![]() | turns |
Properties
Name | Description | |
---|---|---|
![]() | ActivePlayer | |
![]() | IsGameOver | |
![]() | LastPlayerPassed |
Events
Name | Description | |
---|---|---|
![]() | GameFinished |
See Also