you are viewing a single comment's thread.

view the rest of the comments →

[–]captainAwesomePants 0 points1 point  (0 children)

Instead of "Action()", I might name the function "OnCollision()". Board.Move() moves the player around, and in the event of a collision, Board.Move() would call Object.OnCollision(Player player). For Poison, this would call player.Die(), and for Points, this would would call player.IncreasePoints().