Stone

scalatetris.components.Stone
See theStone companion class
object Stone

Objeto compaƱero para la clase Stone que proporciona un constructor simplificado.

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Stone.type

Members list

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(start: Point): Stone

Crea una nueva pieza con un solo punto.

Crea una nueva pieza con un solo punto.

Value parameters

start

Punto inicial de la pieza

Attributes

Returns

Nueva pieza con un solo punto