Merge pull request #70 from S6066/patch-1

Sdk/Entity: Add default parameter to Enable()

Former-commit-id: 383dc4535076f7f9fffd382d44be97e2fd6bfba8 [formerly 0929b96be17ad31403091d0fe6042e77711a6183] [formerly 7a43ec9f18353d4459e7a0fde238d925f0a0119a [formerly 91d5c47828caec5c148d8d3bdeca3bba0572fdff]]
Former-commit-id: 67ab1aae7cf20f9b54e4a40bfecd6e5ee5a91465 [formerly 061d0db3e63ff0dd00a03fcf543bf9f9932ed6ff]
Former-commit-id: 73535449d01e1f10b1dd4b955b1198dd807664a7
This commit is contained in:
Lynix 2016-08-23 16:54:00 +02:00 committed by GitHub
commit c34f48561d
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ namespace Ndk
const EntityHandle& Clone() const; const EntityHandle& Clone() const;
inline void Enable(bool enable); inline void Enable(bool enable = true);
inline BaseComponent& GetComponent(ComponentIndex index); inline BaseComponent& GetComponent(ComponentIndex index);
template<typename ComponentType> ComponentType& GetComponent(); template<typename ComponentType> ComponentType& GetComponent();