time erzeugt und wird jetzt auch benutzt
This commit is contained in:
@@ -65,6 +65,7 @@
|
||||
<Compile Include="src\Result.cs" />
|
||||
<Compile Include="src\Challenge.cs" />
|
||||
<Compile Include="src\YourID.cs" />
|
||||
<Compile Include="src\DefaultGui\Time.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
</Project>
|
||||
14
src/DefaultGui/Time.cs
Normal file
14
src/DefaultGui/Time.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
|
||||
namespace inf3
|
||||
{
|
||||
public class Time
|
||||
{
|
||||
long t_;
|
||||
public Time (long t)
|
||||
{
|
||||
t_ = t;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -277,7 +277,7 @@ namespace WorldOfPeacecraft
|
||||
LinkedList <string> unnamedValues = timeBlock.GetUnnamedValues ();
|
||||
string stringValue = unnamedValues.First.Value;
|
||||
long longValue = long.Parse (stringValue);
|
||||
//Time t = new Time(longValue);
|
||||
Time t = new Time(longValue);
|
||||
}
|
||||
|
||||
private void ProcessOnline (Block onlineBlock)
|
||||
|
||||
Reference in New Issue
Block a user