Created
November 4, 2020 20:46
-
-
Save ariel-avi/f4b7b91aa097578b840810b2b4430a19 to your computer and use it in GitHub Desktop.
Base.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
class Base { | |
private: | |
int m_SomeInt; | |
public: | |
inline int getInt() const { | |
return m_someInt; | |
} | |
inline void setInt(int someOtherInt) { | |
m_SomeInt = someOtherInt; | |
} | |
Base() {} | |
virtual ~Base() = default; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment