13 lines
269 B
C#
13 lines
269 B
C#
namespace Game
|
|
{
|
|
public class PlayerInputNetwork : PlayerInput
|
|
{
|
|
public override bool Predict => true;
|
|
|
|
public override void OnEndFrame()
|
|
{
|
|
currentState.input.frame = frame;
|
|
base.OnEndFrame();
|
|
}
|
|
}
|
|
} |