public void ExecuteUserCmd(IPlayerUserCmdGetter owner, IUserCmd cmd) { _bulletEntityCollector.BulletOwner = owner.OwnerEntityKey; _bulletSimulator.Update(cmd.RenderTime, cmd.Seq, _bulletEntityCollector.GetAllPlayerBulletAgents()); }
public void ExecuteUserCmd(IUserCmdOwner owner, IUserCmd cmd) { _bulletEntityCollector.OwnerEntityKey = owner.OwnerEntityKey; _simulator.Update(cmd.RenderTime, cmd.Seq); }