ShapeNode Class
Represents a tetromino in the shared reserve.
Namespace: SimpleAIPlayerAssembly: SimpleAIPlayer (in SimpleAIPlayer.dll) Version: 1.0.0+d0f5e2a7a5f4bb0431970f279d2f79d24b15d256
internal class ShapeNode : INode<ShapeNode>
- Inheritance
- Object ShapeNode
- Implements
- INodeShapeNode
ShapeNode |
Initializes a new instance of the ShapeNode class.
|
Id |
The ID of the node. Unique for each TetrominoShape.
|
GetEdges |
Returns the possible ChangeTetrominoAction actions that can be taken from this node.
|
Heuristic |
Heuristic function to estimate distances between this node an the other node.
Returns 0 if the nodes are equal, otherwise returns 1.
|