Improve visibility and update caching.

This commit is contained in:
James Grogan 2022-11-16 17:27:19 +00:00
parent 70891ce7b4
commit 722bda2801
8 changed files with 41 additions and 24 deletions

View file

@ -72,6 +72,11 @@ public:
return mName;
}
bool getIsVisible() const
{
return mIsVisible;
}
protected:
DiscretePoint mLocation;
std::unique_ptr<SceneItem> mSceneItem;