/// <summary> /// Mounts the entity /// </summary> /// <param name="mount">Mount</param> public void Mount(Mount mount) { this.mount = mount; this.mount.Ride(this); }
/// <summary> /// Dismounts the entity /// </summary> public void Dismount() { mount.DismountRider(); mount = null; }