Home | Trees | Indices | Help |
|
---|
|
object --+ | PlayerStats --+ | GamePlayerStats
Instance Methods | |||
|
|||
|
|||
Inherited from Inherited from |
Properties | |
Inherited from Inherited from |
Method Details |
Create a new Player instance with the player id (from NFL.com's GameCenter), the player's name (e.g., "T.Brady") and whether the player is playing in a home game or not.
|
Adds two players together. Only two player objects that correspond to the same human (i.e., GameCenter identifier) can be added together. If two different players are added together, an assertion will be raised. The effect of adding two player objects simply corresponds to the sums of all statistical values. Note that as soon as two players have been added, the 'home' property becomes undefined.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Sep 6 19:46:05 2012 | http://epydoc.sourceforge.net |