34 lines
872 B
C#
34 lines
872 B
C#
|
using System;
|
|||
|
using BlueWest.Collections;
|
|||
|
using BlueWest.Tools;
|
|||
|
using BlueWest.Core.Threading;
|
|||
|
|
|||
|
|
|||
|
namespace BlueWest.Core
|
|||
|
{
|
|||
|
public sealed class BlueProgram
|
|||
|
{
|
|||
|
|
|||
|
private static readonly FastDictionary<Type, FastList<EventListenerBase>> Events = new(10000);
|
|||
|
|
|||
|
private static readonly EventManager EventManager = new(Events);
|
|||
|
|
|||
|
private readonly BlueConsole _blueConsole = new BlueConsole();
|
|||
|
|
|||
|
public void Run()
|
|||
|
{
|
|||
|
|
|||
|
new ThreadServer(EventManager);
|
|||
|
BlueWestConsoleBanner();
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
private void BlueWestConsoleBanner()
|
|||
|
{
|
|||
|
Console.WriteLine(" |------------------------------«");
|
|||
|
Console.WriteLine(" » Blue West «");
|
|||
|
Console.WriteLine(" |------------------------------«\n");
|
|||
|
}
|
|||
|
|
|||
|
}
|
|||
|
}
|