TileMapLayer2D.pkg 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. $#include "Urho2D/TileMapLayer2D.h"
  2. class TileMapLayer2D : Component
  3. {
  4. void DrawDebugGeometry(DebugRenderer* debug, bool depthTest);
  5. void SetDrawOrder(int drawOrder);
  6. void SetVisible(bool visible);
  7. int GetDrawOrder() const;
  8. bool IsVisible() const;
  9. bool HasProperty(const String name) const;
  10. const String GetProperty(const String name) const;
  11. TileMapLayerType2D GetLayerType() const;
  12. int GetWidth() const;
  13. int GetHeight() const;
  14. Node* GetTileNode(int x, int y) const;
  15. Tile2D* GetTile(int x, int y) const;
  16. unsigned GetNumObjects() const;
  17. TileMapObject2D* GetObject(unsigned index) const;
  18. Node* GetObjectNode(unsigned index) const;
  19. Node* GetImageNode() const;
  20. tolua_readonly tolua_property__get_set int drawOrder;
  21. tolua_readonly tolua_property__is_set bool visible;
  22. tolua_readonly tolua_property__get_set TileMapLayerType2D layerType;
  23. tolua_readonly tolua_property__get_set int width;
  24. tolua_readonly tolua_property__get_set int height;
  25. tolua_readonly tolua_property__get_set unsigned numObjects;
  26. tolua_readonly tolua_property__get_set Node* imageNode;
  27. };