components from nout
This commit is contained in:
parent
a658978d62
commit
57e9b91c4c
1 changed files with 12 additions and 0 deletions
12
src/components.h
Normal file
12
src/components.h
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
class IComponent {
|
||||||
|
public:
|
||||||
|
virtual ~IComponent() {}
|
||||||
|
virtual void process() = 0;
|
||||||
|
};
|
||||||
|
|
||||||
|
class Pacman : IComponent {
|
||||||
|
public:
|
||||||
|
virtual void process() {
|
||||||
|
|
||||||
|
}
|
||||||
|
};
|
||||||
Loading…
Add table
Add a link
Reference in a new issue