Exemplo 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;
 }
Exemplo 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;
 }
Exemplo 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;
 }