src/vehicle.h
changeset 7545 d44e19c5671e
parent 7537 0b720e804ae2
child 7548 3a679b6e8b30
equal deleted inserted replaced
7544:cac538ba670a 7545:d44e19c5671e
   382 	 */
   382 	 */
   383 	virtual const char* GetTypeString() const { return "base vehicle"; }
   383 	virtual const char* GetTypeString() const { return "base vehicle"; }
   384 
   384 
   385 	/**
   385 	/**
   386 	 * Marks the vehicles to be redrawn and updates cached variables
   386 	 * Marks the vehicles to be redrawn and updates cached variables
       
   387 	 *
       
   388 	 * This method marks the area of the vehicle on the screen as dirty.
       
   389 	 * It can be use to repaint the vehicle.
       
   390 	 *
       
   391 	 * @ingroup dirty
   387 	 */
   392 	 */
   388 	virtual void MarkDirty() {}
   393 	virtual void MarkDirty() {}
   389 
   394 
   390 	/**
   395 	/**
   391 	 * Updates the x and y offsets and the size of the sprite used
   396 	 * Updates the x and y offsets and the size of the sprite used