mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-06-09 20:25:31 +00:00
raw data structure methods calls are now forbidden for functions outside RAY
This commit is contained in:
@@ -54,9 +54,6 @@ namespace RAY
|
||||
//! @brief unload ressources
|
||||
bool unload() override;
|
||||
|
||||
//! @brief get image
|
||||
operator ::Image() const;
|
||||
operator ::Image *();
|
||||
|
||||
//! @brief draw drawable
|
||||
void draw(Drawables::ADrawable2D &);
|
||||
@@ -64,6 +61,11 @@ namespace RAY
|
||||
private:
|
||||
//! @brief Image, really, that's just it...
|
||||
::Image _image;
|
||||
|
||||
INTERNAL:
|
||||
//! @brief get image
|
||||
operator ::Image() const;
|
||||
operator ::Image *();
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -45,13 +45,14 @@ namespace RAY
|
||||
//! @brief unload ressources
|
||||
bool unload() override;
|
||||
|
||||
//! @return libray Texture struct
|
||||
operator ::Texture() const;
|
||||
|
||||
protected:
|
||||
private:
|
||||
//! @brief Texture, really, that's just it...
|
||||
::Texture _texture;
|
||||
|
||||
INTERNAL:
|
||||
//! @return libray Texture struct
|
||||
operator ::Texture() const;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user