Esempio n. 1
0
 public static void AddCastState(EPlayerCastState state, GamePlayComponent player)
 {
     player.CastState |= 1 << (int)state;
 }
Esempio n. 2
0
 public static void RemoveCastState(EPlayerCastState state, GamePlayComponent player)
 {
     player.CastState &= ~(1 << (int)state);
 }
Esempio n. 3
0
 public static bool HasCastState(EPlayerCastState state, GamePlayComponent player)
 {
     return((player.CastState & (1 << (int)state)) > 0);
 }