Пример #1
0
 public Paramedic(Vector3 position, float heading)
     : base(EntityCreator.CreateEMSPed(position, heading))
 {
     // all AdvancedPeds should call RegisterAdvancedPed but can't put it in the base constructor
     // because the generic type will always be AdvancedPed, instead of Firefighter, Paramedic, etc.
     // each AdvancedPed subclass with its own fiber and list
     RegisterAdvancedPed(this);
 }