mirror of
https://github.com/zoriya/Bomberman.git
synced 2025-12-20 13:25:10 +00:00
fix double definition of cast operator
This commit is contained in:
@@ -25,12 +25,6 @@ namespace RAY {
|
||||
//! @brief A model animation is assignable
|
||||
ModelAnimation &operator=(const ModelAnimation &) = default;
|
||||
|
||||
//! @brief Castin Object to raw model animation pointer
|
||||
operator ::ModelAnimation *();
|
||||
|
||||
//! @brief Castin Object to raw model animation pointer
|
||||
operator ::ModelAnimation() const;
|
||||
|
||||
//! @brief Returns the current frame the animation is at
|
||||
size_t getFrameCounter() const;
|
||||
|
||||
@@ -49,7 +43,13 @@ namespace RAY {
|
||||
private:
|
||||
::ModelAnimation &_animation;
|
||||
|
||||
INTERNAL:
|
||||
size_t _frameCounter;
|
||||
//! @brief Castin Object to raw model animation pointer
|
||||
operator ::ModelAnimation *();
|
||||
|
||||
//! @brief Castin Object to raw model animation pointer
|
||||
operator ::ModelAnimation() const;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user