Hy all,
when I develope the code, there are validation : "Cannot find symbol, method getExtendedKeyCodeForChar.
What it should be ?
![Twitter](/assets/twitter-4e19209ef84344ee0c433f4c7bad8d49.png)
![Twitter.hover](/assets/twitter.hover-1fb19a5bafc50deace8f88eaec867845.png)
Actor block = getOneInersectingObject(Block.class); if (block != null) { block.turn(90); block.flash(); // cannot find method occurs here }
// chande line 1 above to Block block = (Block) getOneIntersectingObject(Block.class); // or change line 5 to ((Block) block).flash();