enum Mtg::Card::Location

Defined in:

mtg/card/location.cr

Enum Members

Mainboard = 0
Sideboard = 1
Commander = 2
Companion = 3
Other = 4

Constructors

Instance Method Summary

Constructor Detail

def self.from_s(value : String) : Location #

[View source]
def self.new(value : String) : Location #

[View source]

Instance Method Detail

def commander? #

[View source]
def companion? #

[View source]
def mainboard? #

[View source]
def other? #

[View source]
def sideboard? #

[View source]