summaryrefslogtreecommitdiff
path: root/common/action.h
AgeCommit message (Collapse)AuthorFilesLines
2010-12-05Renamed target types.Vegard Storheil Eriksen1-3/+6
2010-11-27Split target type and target offset in Action.Vegard Storheil Eriksen1-3/+12
2010-11-27Added List class to avoid reinventing features in each case.Vegard Storheil Eriksen1-15/+2
2010-11-25Add Action() taking type and target and Actions::operator bool().Vegard Storheil Eriksen1-0/+6
2010-11-25Action::operator==() should take a reference.Vegard Storheil Eriksen1-1/+1
2010-11-25Remove Action::player and turn Action::target into an int.Vegard Storheil Eriksen1-6/+5
2010-11-25Check for valid action.Vegard Storheil Eriksen1-1/+12
2010-11-23Changed the target in action from 2 ints into a vector<int>. Making it ↵Atle Hellvik Havsø1-6/+3
easier to scale when we start with kan and riichi. Signed-off-by: Atle Hellvik Havsø <atle@havso.net>
2010-11-23Added a second target to Action.Atle Hellvik Havsø1-0/+3
2010-11-20Made the Player class have a ID (That gets set during a game) which they add ↵Atle Hellvik Havsø1-0/+4
to the Action-message. So we can keep track of which player did what action. Signed-off-by: Atle Hellvik Havsø <atle@havso.net>
2010-11-19Add Action and State classes.Vegard Storheil Eriksen1-0/+36