In a simple Grid the only GridElems are Tiles. In a complex grid, there are values for tiles and tile sides. For programmatic purposes it is vital that GridElem contains its grid coordinates, although at a logical level a tile does not need to know its position within the tile grid. It needs this information so it can communicate with its grid.

class Object
trait Matchable
class Any

Value members

Abstract methods

def x: Int
def y: Int

Concrete methods

def cood: Cood