10#ifndef EFFECTVEHICLE_BASE_H
11#define EFFECTVEHICLE_BASE_H
void UpdateDeltaXY() override
Updates the x and y offsets and the size of the sprite used for this vehicle.
TransparencyOption GetTransparencyOption() const
Determines the transparency option affecting the effect.
uint8_t animation_substate
Sub state to time the change of the graphics/behaviour.
~EffectVehicle() override=default
We want to 'destruct' the right class.
bool Tick() override
Calls the tick handler of the vehicle.
uint16_t animation_state
State primarily used to change the graphics/behaviour.
SpecializedVehicle(VehicleID index)
SpecializedVehicle< EffectVehicle, Type > SpecializedVehicleBase
Functions related to transparency.
TransparencyOption
Transparency option bits: which position in _transparency_opt stands for which transparency.
Base class for all vehicles.
PoolID< uint32_t, struct VehicleIDTag, 0xFF000, 0xFFFFF > VehicleID
The type all our vehicle IDs have.