Struct Tile
A wrapper around object to give some clarity to the code.
Tiles have no semantics except Equals and GetHashCode - all other behaviour is specified
externally when configuring other DeBroglie classes.
Arrays of Tile are the main objects that are generated by the DeBroglie library,
and the Tile struct is used elsewhere to indicate the relationship to generation.
Assembly: DeBroglie.dll
Syntax
public struct Tile : IEquatable<Tile>
Constructors
|
Edit this page
View Source
Tile(object)
Declaration
public Tile(object value)
Parameters
Type |
Name |
Description |
object |
value |
|
Properties
|
Edit this page
View Source
Value
Declaration
public object Value { get; }
Property Value
Methods
|
Edit this page
View Source
Equals(Tile)
Declaration
public bool Equals(Tile other)
Parameters
Type |
Name |
Description |
Tile |
other |
|
Returns
|
Edit this page
View Source
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
|
Edit this page
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
|
Edit this page
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
|
Edit this page
View Source
operator ==(Tile, Tile)
Declaration
public static bool operator ==(Tile a, Tile b)
Parameters
Returns
|
Edit this page
View Source
operator !=(Tile, Tile)
Declaration
public static bool operator !=(Tile a, Tile b)
Parameters
Returns
Implements