class SplatfestSimulator::Team

Defined in:

splatfest_simulator/team.cr

Constant Summary

MAX_TEAM_SIZE = 4

Constructors

Instance Method Summary

Constructor Detail

def self.new(given_players = MAX_TEAM_SIZE.times.map do Player.new end.to_a, faction : Symbol = :neutral) #

[View source]

Instance Method Detail

def clout : Int64 #

[View source]
def clout=(clout : Int64) #

[View source]
def faction : Symbol #

[View source]
def lose!(clout_change : Int64) #

[View source]
def losses : Int32 #

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

[View source]
def players : Array(Player) #

[View source]
def streak : Int32 #

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

[View source]
def total_elo : Int32 #

[View source]
def win!(clout_change : Int64) #

[View source]
def wins : Int32 #

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

[View source]