Use CellLayer for resources.
This commit is contained in:
@@ -23,4 +23,18 @@ namespace OpenRA
|
||||
|
||||
public override int GetHashCode() { return Type.GetHashCode() ^ Index.GetHashCode(); }
|
||||
}
|
||||
|
||||
public struct ResourceTile
|
||||
{
|
||||
public readonly byte Type;
|
||||
public readonly byte Index;
|
||||
|
||||
public ResourceTile(byte type, byte index)
|
||||
{
|
||||
Type = type;
|
||||
Index = index;
|
||||
}
|
||||
|
||||
public override int GetHashCode() { return Type.GetHashCode() ^ Index.GetHashCode(); }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user