Show / Hide Table of Contents

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.

Implements
IEquatable<Tile>
Namespace: DeBroglie
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
Type Description
object

Methods

| Edit this page View Source

Equals(Tile)

Declaration
public bool Equals(Tile other)
Parameters
Type Name Description
Tile other
Returns
Type Description
bool
| Edit this page View Source

Equals(object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
ValueType.Equals(object)
| Edit this page View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
ValueType.GetHashCode()
| Edit this page View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
ValueType.ToString()

Operators

| Edit this page View Source

operator ==(Tile, Tile)

Declaration
public static bool operator ==(Tile a, Tile b)
Parameters
Type Name Description
Tile a
Tile b
Returns
Type Description
bool
| Edit this page View Source

operator !=(Tile, Tile)

Declaration
public static bool operator !=(Tile a, Tile b)
Parameters
Type Name Description
Tile a
Tile b
Returns
Type Description
bool

Implements

IEquatable<T>
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX