예제 #1
0
파일: Archery.cs 프로젝트: szhangGT/Rangers
        // Removes the token from the types the player has collected
        private void RemoveToken(TokenTimer tt)
        {
			RemoveArrowType(tt.TokenType);
        }
예제 #2
0
파일: Archery.cs 프로젝트: AmbroseC/Rangers
 // Removes the token from the types the player has collected
 private void RemoveToken(TokenTimer tt)
 {
     // Clear the appropriate token bit and remove the timer from the list of running timers
     types = Bitwise.ClearBit(types, (int)tt.TokenType);
     TokenTimer t = timers.Find(i => i.ID.Equals(tt.TokenType.ToString()));
     timers.Remove(t);
 }