class BattleSnake::Snake

Included Modules

Defined in:

battle_snake/snake.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def body : Array(Point) #

[View source]
def body=(body : Array(Point)) #

[View source]
def head : Point #

[View source]
def head=(head : Point) #

[View source]
def health : Int32 #

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

[View source]
def id : String #

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

[View source]
def latency : String #

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

[View source]
def length : Int32 #

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

[View source]
def name : String #

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

[View source]
def shout : String #

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

[View source]
def squad : String #

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

[View source]