[−][src]Trait rustbatch::entities::predict::Entity
Required methods
fn position(&self) -> Vect
returns actual position of shooter or target
fn velocity(&self) -> Vect
returns actual velocity of shooter or target in case of shooter you should provide Vect::ZERO if shooters speed does not affect the bullet, if yes then return the velocity you add to bullet