TDME2  1.9.200
View.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <tdme/tdme.h>
5 
6 /**
7  * View interface, this combines application logic, regarding a application view, with screen controllers
8  * @author Andreas Drewke
9  */
11 {
12 
13  /**
14  * Initiates the view
15  */
16  virtual void initialize() = 0;
17 
18  /**
19  * Activate view
20  */
21  virtual void activate() = 0;
22 
23  /**
24  * Renders the view
25  */
26  virtual void display() = 0;
27 
28  /**
29  * Deactivate view
30  */
31  virtual void deactivate() = 0;
32 
33  /**
34  * Disposes the view
35  */
36  virtual void dispose() = 0;
37 
38  /**
39  * Tick
40  */
41  virtual void tick() = 0;
42 
43  /**
44  * Destructor
45  */
46  virtual ~View() {}
47 };
View interface, this combines application logic, regarding a application view, with screen controller...
Definition: View.h:11
virtual void deactivate()=0
Deactivate view.
virtual ~View()
Destructor.
Definition: View.h:46
virtual void activate()=0
Activate view.
virtual void display()=0
Renders the view.
virtual void initialize()=0
Initiates the view.
virtual void dispose()=0
Disposes the view.
virtual void tick()=0
Tick.