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