Commit Graph

9 Commits

Author SHA1 Message Date
Michael Bayne d6c55a091f Again, always on the variable, not the method.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@703 c613c5cb-e716-0410-b11b-feb51c14d237
2008-08-04 12:59:43 +00:00
Michael Bayne 12bd9e9db7 Be sure to use the logger from the appropriate package. However in this case,
let's not be checking in debug logging. Bang! Howdy calls these methods
hundreds of thousads of times a day and we don't really want the log spam.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@702 c613c5cb-e716-0410-b11b-feb51c14d237
2008-08-04 12:58:08 +00:00
Michael Bayne 299d63fd14 Always suppress unchecked warnings on an individual declaration plus
assignment, not an entire method. Eclipse is helpfully stupid about this, but
we'll just have to use our big brains and help it out.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@701 c613c5cb-e716-0410-b11b-feb51c14d237
2008-08-04 12:56:08 +00:00
Tom Conkling 31d855837a StatSet.updateStat -> StatSet.syncStat. syncStat() should be called after a stat has been successfully updated in the repository, to keep the in-memory version in sync with the repo changes.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@688 c613c5cb-e716-0410-b11b-feb51c14d237
2008-07-30 00:58:36 +00:00
Tom Conkling 6f8a1e0db0 - Created SetStat<T> generic type
- IntSetStat and StringSetStat extend SetStat
- consolidated SetStat-related functions in StatSet, and added StatSet.getSetStatSize()
- she sells SetStat StatSets by the seashore

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@683 c613c5cb-e716-0410-b11b-feb51c14d237
2008-07-25 22:48:13 +00:00
Tom Conkling 2a18ff5f02 switch on brain
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@682 c613c5cb-e716-0410-b11b-feb51c14d237
2008-07-25 21:01:07 +00:00
Tom Conkling bc38d2dde9 added StatSet.updateStat(), which uses a StatModifier to do its business
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@681 c613c5cb-e716-0410-b11b-feb51c14d237
2008-07-25 20:55:14 +00:00
Tom Conkling ae8ec1e2ac StatSet.addToSetStat, for IntSetStats
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@671 c613c5cb-e716-0410-b11b-feb51c14d237
2008-07-22 00:39:41 +00:00
Michael Bayne e6ab89f313 Extracted the Bang stats system into reusable land. Too late for Yohoho, but
Whirled will benefit.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@251 c613c5cb-e716-0410-b11b-feb51c14d237
2007-03-20 17:23:18 +00:00