[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[pbmserv-dev] keeping constants with the board



Dear all,

 I am developing a game (cooperyoung), which will need to keep track of
two private integers (ChosenRow, ChosenCol) throughout the game, which
integers will be different for different games. How do I do this. I've
tried to add

 private:
  static int ChosenRow
  static int ChosenCol to the CooperYoung class, but the integers are
reset with every move. What should I do?

Luke. (drp)