Ejemplo n.º 1
0
 /// <summary>
 /// Constructs an (x,y,z) vector
 /// </summary>
 /// <param name="x">X value</param>
 /// <param name="y">Y value</param>
 /// <param name="z">Z value</param>
 /// 
 public pLocationType(pLocationType location)
 {
     this.x = location.X;
     this.y = location.Y;
     this.z = location.Z;
 }
Ejemplo n.º 2
0
 public pCone(double spread, double extent, pLocationType direction, string level)
 {
     this.spread = spread;
     this.extent = extent;
     this.direction = new pLocationType(direction);
     this.level = level;
 }
Ejemplo n.º 3
0
 public void Add(pLocationType loc)
 {
     locations.Add(loc);
 }
Ejemplo n.º 4
0
 public pAdoptType(string child)
 {
     this.child = child;
     this.location = null;
     this.InitialState = "";
     this.initialParameters = null;
 }
Ejemplo n.º 5
0
        public pLaunchType(string parent, pEngramRange engramRange, string child, string kind, int time, pLocationType relativeLocation,
                           string initialState, Dictionary<string, object> startupParameters)
        {
            this.parent = parent;
            this.engramRange = engramRange;
            this.child = child;
            this.kind = kind;
            this.time = time;
            this.relativeLocation = relativeLocation;
            this.initialState = initialState;
            this.startupParameters = startupParameters;

        }
Ejemplo n.º 6
0
 public pMoveType(string unitID, pEngramRange engramRange, int timer,
     pLocationType location, double throttle)
 {
     this.engramRange = engramRange;
     this.unitID = unitID;
     this.timer = timer;
     this.throttle = throttle;
     this.location = location;
     randomInterval = new pRandomIntervalType(0, 0);
 }
Ejemplo n.º 7
0
 public pRevealType(string unitID, pEngramRange engramRange, int time, pLocationType initialLocation,
                    string initialState, Dictionary<string, object> startupParameters)
 {
     this.unitID = unitID;
     this.engramRange = engramRange;
     this.time = time;
     this.initialLocation = initialLocation;
     this.initialState = initialState;
     this.startupParameters = startupParameters;
 }