Side

sealed abstract class Side(val delegate: Side) extends SFXEnumDelegate[Side]
Companion
object
trait SFXEnumDelegate[Side]
trait SFXDelegate[Side]
class Object
trait Matchable
class Any
object Bottom
object Left
object Right
object Top

Value members

Concrete methods

def isHorizontal: Boolean

Indicates whether this is horizontal side of a rectangle (returns true for TOP and BOTTOM).

Indicates whether this is horizontal side of a rectangle (returns true for TOP and BOTTOM).

def isVertical: Boolean

Indicates whether this is vertical side of a rectangle (returns true for LEFT and RIGHT).

Indicates whether this is vertical side of a rectangle (returns true for LEFT and RIGHT).

Inherited methods

override def equals(ref: Any): Boolean

Verifies if a object is equals to this delegate.

Verifies if a object is equals to this delegate.

Value Params
ref

Object to be compared.

Returns

if the other object is equals to this delegate or not.

Definition Classes
Inherited from
SFXDelegate
override def hashCode: Int
Returns

The delegate hashcode

Definition Classes
Inherited from
SFXDelegate
override def toString: String

Return the same string value as enum delegate.

Return the same string value as enum delegate.

This is important since we want to be able to look it up using enums valueOf method. Default toString provided by the SFXDelegate prepends "[SFX]"

Definition Classes
Inherited from
SFXEnumDelegate

Concrete fields

override val delegate: Side