← Back to team overview

millennium-dev team mailing list archive

[Bug 1205817] [NEW] The Game is a static class

 

Public bug reported:

When implementing connection scheme, I, mistakingly, made the Game a
static class.

It should be instantiable, with both CPlayers maintaining a reference to
it.

(Currently it does not matter much, CPlayer can use the static class as
it wishes, but when we'll expand card collection, it may be useful to be
able to pass a Game reference to card's code.)

** Affects: libmillennium
     Importance: Medium
         Status: Triaged

-- 
You received this bug notification because you are a member of
Millennium Developers, which is subscribed to libMillennium.
https://bugs.launchpad.net/bugs/1205817

Title:
  The Game is a static class

Status in libMillennium:
  Triaged

Bug description:
  When implementing connection scheme, I, mistakingly, made the Game a
  static class.

  It should be instantiable, with both CPlayers maintaining a reference
  to it.

  (Currently it does not matter much, CPlayer can use the static class
  as it wishes, but when we'll expand card collection, it may be useful
  to be able to pass a Game reference to card's code.)

To manage notifications about this bug go to:
https://bugs.launchpad.net/libmillennium/+bug/1205817/+subscriptions


Follow ups

References