I get this error:
    
    
    scratch.nim(41, 12) Error: type mismatch: got <ConvexShape, Texture>
    but expected one of:
    proc setTexture(shape: ConvexShape; texture: Texture; resetRect: BoolInt)
      first type mismatch at position: 3
      required type: BoolInt
    4 other mismatching symbols have been suppressed; compile with 
--showAllMismatches:on to see them
    
    expression: setTexture(blk, grass)
    
    
    Run

So I read it and use this code instead: `blk.setTexture(grass, true)` and it 
compiles. 

Reply via email to