Ejemplo n.º 1
0
    // add fake news to this point
    public void Increase(int player, float intensity, float timer)
    {
        Transmition transmition = new Transmition();

        transmition.increase_timer = timer;
        transmition.increase_value = intensity;
        _transmitions.Add(transmition);
    }
Ejemplo n.º 2
0
 public Car(Engine engine, StWheel stwheel, Gear gear, Wheel wheel, Transmition transmition, PetrolTank pet)
 {
     this.engine            = engine;
     this.stwheel           = stwheel;
     this.gear              = gear;
     this.wheel             = wheel;
     this.transmition       = transmition;
     this.petrol            = pet;
     this.transmition.Power = 0;
 }
Ejemplo n.º 3
0
 public Car()
 {
     m_Make        = string.Empty;
     m_Model       = string.Empty;
     m_Year        = int.MinValue;
     m_Fuel        = Fuel.unknown;
     m_Gear        = Gear.unknown;
     m_BodyStyle   = BodyStyle.unknown;
     m_Transmition = Transmition.unknown;
     m_Condition   = Condition.fine;
     m_kW          = int.MinValue;
     m_Price       = int.MinValue;
     m_Mileage     = int.MinValue;
     m_PhotoUrls   = new List <string>();
 }