AI erstellt
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
||||
<ProductVersion>10.0.0</ProductVersion>
|
||||
<ProductVersion>8.0.30703</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{FB0656B5-8E83-4880-9EAE-55E474B8B732}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
@@ -114,6 +114,7 @@
|
||||
</Compile>
|
||||
<Compile Include="src\BinarySearch.cs" />
|
||||
<Compile Include="src\Sorttest.cs" />
|
||||
<Compile Include="src\AI.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include=".NETFramework,Version=v4.0">
|
||||
|
||||
24
src/AI.cs
Normal file
24
src/AI.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.Timers;
|
||||
|
||||
namespace WorldOfPeacecraft
|
||||
{
|
||||
public class AI
|
||||
{
|
||||
Timer timer;
|
||||
bool challengeSomeone = false;
|
||||
|
||||
public AI ()
|
||||
{
|
||||
timer = new Timer (5000.0);
|
||||
timer.Elapsed += new ElapsedEventHandler (OnTimedEvent);
|
||||
timer.Start ();
|
||||
}
|
||||
|
||||
private static void OnTimedEvent(object source, ElapsedEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user