Exemplo n.º 1
0
 public CTrackHlaObject(HlaObjectClass _type) : base(_type)
 {
     // TODO: Instantiate local data here
     TrackPosition = new PositionType {
         X = 10, Y = 0
     };
     //TrackZone = zone;
     //if (TrackZone == LocationEnum.West)
     //  TrackPosition = new PositionType { X = 10, Y = 0 };
     //else
     //  TrackPosition = new PositionType { X = 10, Y = 0 };
 }
Exemplo n.º 2
0
 public CStationHlaObject(HlaObjectClass _type) : base(_type)
 {
     // TODO: Instantiate local data here
     StationName = "";
     Location    = LocationEnum.West;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Adds an object class to object model.
 /// </summary>
 public void AddToObjectModel(HlaObjectClass oc)
 {
     OCList.Add(oc);
 }
        // TODO: Declare your local object structure here
        // Your_LocalData_Type Data;
        #endregion //Declarations

        #region Constructor
        public CSensorHlaObject(HlaObjectClass _type) : base(_type)
        {
            // TODO: Instantiate local data here
            // var Data = new Your_LocalData_Type();
        }
Exemplo n.º 5
0
 public CUser(HlaObjectClass _type) : base(_type)
 {
     // Local Data
     NickName = "Guest";
     Status   = StatusTypes.READY;
 }
Exemplo n.º 6
0
 public CShipHlaObject(HlaObjectClass _type) : base(_type)
 {
     // TODO: Instantiate local data here
     Ship = new CShip();
 }