From 736b90c72ba09fa3f09a2c371ec853bbbb28f8e7 Mon Sep 17 00:00:00 2001 From: Wafa Sadri Date: Fri, 11 Apr 2014 11:41:20 +0200 Subject: [PATCH] time erzeugt und wird jetzt auch benutzt --- inf3.csproj | 1 + src/DefaultGui/Time.cs | 14 ++++++++++++++ src/Parser.cs | 2 +- 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 src/DefaultGui/Time.cs diff --git a/inf3.csproj b/inf3.csproj index 1d98db6..598afe3 100644 --- a/inf3.csproj +++ b/inf3.csproj @@ -65,6 +65,7 @@ + \ No newline at end of file diff --git a/src/DefaultGui/Time.cs b/src/DefaultGui/Time.cs new file mode 100644 index 0000000..f265920 --- /dev/null +++ b/src/DefaultGui/Time.cs @@ -0,0 +1,14 @@ +using System; + +namespace inf3 +{ + public class Time + { + long t_; + public Time (long t) + { + t_ = t; + } + } +} + diff --git a/src/Parser.cs b/src/Parser.cs index 4095123..93cf5f3 100644 --- a/src/Parser.cs +++ b/src/Parser.cs @@ -277,7 +277,7 @@ namespace WorldOfPeacecraft LinkedList 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)