How to draw more than 4 cursors on a map?

Discussion in 'Plugin Development' started by DxDy, Apr 18, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    DxDy

    For some reason I don't seem to be able to draw more than 4 cursors on a map.

    Code:java
    1. In MyRender.render():
    2.  
    3. for(int i=0; i<10; i++){
    4. MapCursor c = new MapCursor((byte)(i*20-100), (byte)(i*20-100), (byte)0, (byte)0, true);
    5. c.setType(Type.WHITE_CROSS);
    6. canvas.getCursors().addCursor(c);
    7. }
    8.  


    This code will never render more than exactly 4 cursors. Is this a limit and if so, is there a way to get around it?
     
Thread Status:
Not open for further replies.

Share This Page