Closed BruceJohnJennerLawso closed 7 years ago
or better titled, seasonPart(firstHalf)
This is going to make load times even longer cause seasonPart is going to be an object that gets loaded when the team is constructed, and it will cost runtime to tally the results for each segment (totalSeason, firstHalf, secondHalf, etc.)
I think this can be called fully armed and operational as of 9acd0920f6183eae57069d13e315f56726e9b868, although variable season comparisons as described in #74 still needs to be tested
Per #74 closing, this is done on the seasonParts branch
Really, reaallllly done
Aka done like dinner done
The system currently has team stats set up as being called for the team that they refer to, totalled & averaged for an entire season. This is a working system for the moment, but I want to be able to do (at some point) things like selecting the front and back halves of a season, the first 10 games, etc., like
team.seasonGames(firstHalf).getCPQI()
The unfortunate thing is that this will require a potentially massive codebase rewrite to make happen, given how many places a teams stats are called directly. So... I better get cracking on this.