Hy all,
when I develope the code, there are validation : "Cannot find symbol, method getExtendedKeyCodeForChar.
What it should be ?


1 2 3 4 5 6 | Actor block = getOneInersectingObject(Block. class ); if (block != null ) { block.turn( 90 ); block.flash(); // cannot find method occurs here } |
1 2 3 4 | // chande line 1 above to Block block = (Block) getOneIntersectingObject(Block. class ); // or change line 5 to ((Block) block).flash(); |