target.h

Go to the documentation of this file.
00001 /*
00002  * target.h
00003  *
00004  *  Created on: Dec 21, 2011
00005  *      Author: sushil
00006  */
00007 
00008 #ifndef TARGET_H_
00009 #define TARGET_H_
00010 
00011 
00012 #include <OgreVector3.h>
00013 //#include <ent.h>
00014 
00015 namespace FastEcslent {
00016 
00017         class Entity;
00018         class Group;
00019 
00020         typedef struct {
00021                 Ogre::Vector3 location;
00022                 //or
00023                 Entity       *entity;
00024                 //or
00025                 double        waitTime; //time to wait
00026 
00027                 Ogre::Vector3 offset; //raw offset position (say from UI) must be converted to
00028                 float offsetYaw; // offset relative to heading and
00029                 float offsetDistance; // distance along offsetRotation
00030 
00031         } Target;
00032 
00033         typedef struct {
00034                 Target target;
00035                 Group* group;
00036         } GroupTarget;
00037 
00038 
00039 }
00040 
00041 #endif /* TARGET_H_ */

Generated on Fri Dec 13 14:54:16 2013 for FastECSLent by  doxygen 1.5.4