Esempio n. 1
0
 /**
  * @param p_game game to apply event
  * @return the newTokenCarrier
  */
 public EbToken getNewTokenCarrier(Game p_game) {
   if (m_newTokenCarrier == null && getPackedNewTokenCarrier() != null) {
     m_newTokenCarrier = p_game.getToken(getPackedNewTokenCarrier().getId());
   }
   return m_newTokenCarrier;
 }
Esempio n. 2
0
 /**
  * @param p_game game to apply event
  * @return the tokenDestroyer2
  */
 public EbToken getTokenDestroyer2(Game p_game) {
   if (m_tokenDestroyer2 == null && getPackedTokenDestroyer2() != null) {
     m_tokenDestroyer2 = p_game.getToken(getPackedTokenDestroyer2().getId());
   }
   return m_tokenDestroyer2;
 }
Esempio n. 3
0
 /**
  * @param p_game game to apply event
  * @return the token
  */
 public EbToken getToken(Game p_game) {
   if (m_token == null && getPackedToken() != null) {
     m_token = p_game.getToken(getPackedToken().getId());
   }
   return m_token;
 }