Add misc and sfml modules with initial implementations, including new classes, assets, and CMake integration.
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
//
|
||||
// Created by David Hackbarth on 27.02.26.
|
||||
//
|
||||
|
||||
#ifndef MISC_INLINES_H
|
||||
#define MISC_INLINES_H
|
||||
|
||||
class Value {
|
||||
public:
|
||||
Value(int val) : value(val) {} // implicit inline
|
||||
int getValue() const { return value; } // implicit inline
|
||||
|
||||
// explicit inline, but redundant because it is already implicit inline
|
||||
inline void setValue(int val) { value = val; }
|
||||
|
||||
inline void Print() const; // explicit inline
|
||||
|
||||
private:
|
||||
int value;
|
||||
};
|
||||
|
||||
#endif //MISC_INLINES_H
|
||||
Reference in New Issue
Block a user