public void FillFrom(SnapObj_PlayerInput other) { Direction = other.Direction; TargetX = other.TargetX; TargetY = other.TargetY; Jump = other.Jump; Fire = other.Fire; Hook = other.Hook; PlayerFlags = other.PlayerFlags; WantedWeapon = other.WantedWeapon; NextWeapon = other.NextWeapon; PrevWeapon = other.PrevWeapon; }
public bool Compare(SnapObj_PlayerInput other) { return (Direction == other.Direction && TargetX == other.TargetX && TargetY == other.TargetY && Jump == other.Jump && Fire == other.Fire && Hook == other.Hook && PlayerFlags == other.PlayerFlags && WantedWeapon == other.WantedWeapon && NextWeapon == other.NextWeapon && PrevWeapon == other.PrevWeapon); }