[partially-solved] surface.get_tile{}, .get_tileproperties{}
Posted: Tue Oct 04, 2016 12:53 am
Would it be possible to make surface.get_tile() and surface.get_tileproperties() accept position objects ( {x=x,y=y} or {x,y} )? In most cases where I'm doing stuff with tiles, I already have such object and would be nice to simply re-use it rather than pulling out specific properties just for these two functions. Most other tile/position related methods/properties already accept position objects, such as surface.create_entity(), player.position, etc., so it would also improve consistency.
Also, shouldn't get_tileproperties() be called get_tile_properties()?
Also, shouldn't get_tileproperties() be called get_tile_properties()?