mirror of
https://github.com/rafi1212122/BLHX.Server.git
synced 2025-12-12 22:44:36 +01:00
19 lines
349 B
C#
19 lines
349 B
C#
using BLHX.Server.Game.Commands;
|
|
|
|
namespace BLHX.Server.Game;
|
|
|
|
public static class InputSystem
|
|
{
|
|
public static void Start()
|
|
{
|
|
while (true)
|
|
{
|
|
var command = Console.ReadLine();
|
|
|
|
if (string.IsNullOrEmpty(command)) continue;
|
|
|
|
CommandHandlerFactory.HandleCommand(command);
|
|
}
|
|
}
|
|
}
|