class BattleSnake::Settings

Included Modules

Defined in:

battle_snake/settings.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def foodSpawnChance : Int32 #

[View source]
def foodSpawnChance=(foodSpawnChance : Int32) #

[View source]
def hazardDamagePerTurn : Int32 #

[View source]
def hazardDamagePerTurn=(hazardDamagePerTurn : Int32) #

[View source]
def hazardMap : String #

[View source]
def hazardMap=(hazardMap : String) #

[View source]
def hazardMapAuthor : String #

[View source]
def hazardMapAuthor=(hazardMapAuthor : String) #

[View source]
def minimumFood : Int32 #

[View source]
def minimumFood=(minimumFood : Int32) #

[View source]