CPR syncing + some refactoring
Clients send an entityevent to the server when they start/stop doing CPR, and server includes the animation state in messages when character is dragging some other character
This commit is contained in:
@@ -52,6 +52,11 @@ namespace Barotrauma
|
||||
Position += ConvertUnits.ToSimUnits(sub.Position);
|
||||
}
|
||||
}
|
||||
|
||||
public void Translate(Vector2 amount)
|
||||
{
|
||||
Position += amount;
|
||||
}
|
||||
}
|
||||
|
||||
class PhysicsBody
|
||||
|
||||
Reference in New Issue
Block a user