private void paintAlphabet(IAlphabet iAlphabet) { Text text = new Text(iAlphabet.getAlphabet()); actors.put(iAlphabet.getAlphabet(), text); Board board = (Board) getWorld(); if (board == null) { System.out.println("NULL"); } board.addObject(text, iAlphabet.getX(), iAlphabet.getY()); }