public TokenGenerator(Board board, Level level, Random random) { this.board = board; this.level = level; this.random = random; this.nextToken = null; LoadNextToken(); }
public void LoadNextToken() { currentToken = nextToken; nextToken = level.GetRandomToken(board, random); }
public void ClearCurrentToken() { currentToken = null; }