Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LangtonCell langtonCell =((LangtonCell)map.get(new Coords2D(((int)((t.getX())/15)), ((int)((t.getY())/15)))));
- langtonCell.cellState=BinaryState.ALIVE; //WTF!!
- map.replace(new Coords2D(((int)((t.getX())/15)), ((int)((t.getY())/15))), langtonCell);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement