forked from FLAME-HPC/flame_visualiser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathruleagent.h
42 lines (38 loc) · 903 Bytes
/
ruleagent.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*!
* \file ruleagent.h
* \author Simon Coakley
* \date 2012
* \copyright Copyright (c) 2012 University of Sheffield
* \brief Header file for rule agent
*/
#ifndef RULEAGENT_H_
#define RULEAGENT_H_
#include "./agent.h"
class RuleAgent {
public:
explicit RuleAgent(Agent * a) {
x = 0.0;
y = 0.0;
z = 0.0;
shapeDimension = 0.0;
shapeDimensionY = 0.0;
shapeDimensionZ = 0.0;
conditionVariable = 0.0;
isEnvironment = false;
isPicked = false;
agent = a;
}
// Rule variables needed for drawing agent
double x;
double y;
double z;
double shapeDimension;
double shapeDimensionY;
double shapeDimensionZ;
double conditionVariable;
bool isEnvironment;
bool isPicked;
/*! \brief Pointer to original agent memory variables */
Agent * agent;
};
#endif // RULEAGENT_H_