LoveBrains  1.0.0
i_behavior.h
1 /*
2 ** i_behavior.h for LoveBrains in /home/robin_f/Programming/Git/CPP/LoveBrains
3 **
4 ** Made by Guillaume ROBIN
5 ** Login <robin_f@epitech.eu>
6 **
7 ** Started on Wed Jul 22 14:29:54 2015 Guillaume ROBIN
8 ** Last update Fri Aug 21 14:47:17 2015 Guillaume ROBIN
9 */
10 
11 #ifndef I_BEHAVIOR_H_
12 # define I_BEHAVIOR_H_
13 
14 # include "Graphics/i_object.h"
15 
16 namespace Graphics
17 {
22  class IBehavior
23  {
24  public:
28  virtual ~IBehavior(void) { }
29 
34  virtual void Update(IObject *obj) = 0;
35  };
36 }
37 
38 #endif /* !I_BEHAVIOR_H_ */
virtual ~IBehavior(void)
Destructor.
Definition: i_behavior.h:28
Define the interface of an object.
Definition: i_object.h:24
Contains all the class that define the graphic environment.
Define a behavior for a collider.
Definition: i_behavior.h:22
virtual void Update(IObject *obj)=0
Update the object that have been affected the collider.