class SplatfestSimulator::Team
- SplatfestSimulator::Team
- Reference
- Object
Defined in:
splatfest_simulator/team.crConstant Summary
-
MAX_TEAM_SIZE =
4
Constructors
Instance Method Summary
- #clout : Int64
- #clout=(clout : Int64)
- #faction : Symbol
- #lose!(clout_change : Int64)
- #losses : Int32
- #losses=(losses : Int32)
- #players : Array(Player)
- #streak : Int32
- #streak=(streak : Int32)
- #total_elo : Int32
- #win!(clout_change : Int64)
- #wins : Int32
- #wins=(wins : Int32)
Constructor Detail
def self.new(given_players = MAX_TEAM_SIZE.times.map do
Player.new
end.to_a, faction : Symbol = :neutral)
#