// ---------------------------------------------------------
// Class: VehicleAggressive
// ---------------------------------------------------------
// Aggressive vehicles have the sensors wired directly to
// the wheels on the opposite side.
// ---------------------------------------------------------

import processing.*;
import processing.core.*;

class VehicleAggressive extends Vehicle {
  
  // Constructor
  // -----------------------------
  VehicleAggressive(PApplet pa, float x, float y, float angle, float axle, PImage theimage) {
    super(pa,x,y,angle,axle, theimage);
  }
  
  // Sensing logic, i.e. how the sensors are connected to the wheels
  // -----------------------------
  void doSenseLogic(SensoryField sfield, SensoryField ffield) {
    setVelocityL(sR.getSense(sfield,false));
    setVelocityR(sL.getSense(sfield,false));
  }
  
   void doTortLogic(SensoryField tfield, SensoryField sfield) {}
  

  float getSpeedRat(){
  
return (float)1.1  ;
}}
