Size

scalatetris.components.Size
case class Size(width: Int, height: Int)

Clase que representa las dimensiones de un área rectangular.

Esta clase se utiliza principalmente para definir el tamaño del tablero de juego y verificar los límites para el movimiento de las piezas.

Value parameters

height

Alto del área en unidades

width

Ancho del área en unidades

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product