class Bet

Defined in:

roulette/bet.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(bet_type : BetType, amount : Int32) #

[View source]

Instance Method Detail

def amount : Int32 #

[View source]
def bet_type : BetType #

[View source]
def result : Int32 #

[View source]
def set_result(number : Int32) : Int32 #

[View source]
def win : Int32 #

[View source]
def win? : Bool #

[View source]