Trying to make a server
This commit is contained in:
+2
-2
@@ -50,14 +50,14 @@ namespace client
|
||||
{
|
||||
if (ball.Position.X < Position.X + Width && ball.CanMove)
|
||||
{
|
||||
ball.StopMoving();
|
||||
//ball.StopMoving();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (ball.Position.X > Position.X && ball.CanMove)
|
||||
{
|
||||
ball.StopMoving();
|
||||
//ball.StopMoving();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user