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 }; }
public CStationHlaObject(HlaObjectClass _type) : base(_type) { // TODO: Instantiate local data here StationName = ""; Location = LocationEnum.West; }
/// <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(); }
public CUser(HlaObjectClass _type) : base(_type) { // Local Data NickName = "Guest"; Status = StatusTypes.READY; }
public CShipHlaObject(HlaObjectClass _type) : base(_type) { // TODO: Instantiate local data here Ship = new CShip(); }