From 531ac335eebf2da72b5f3d157342cf9abbd7b302 Mon Sep 17 00:00:00 2001 From: Wafa Sadri Date: Fri, 11 Apr 2014 11:43:22 +0200 Subject: [PATCH] online klasse erstellt und wird jetzt auch benutzt --- inf3.csproj | 1 + src/DefaultGui/Online.cs | 14 ++++++++++++++ src/Parser.cs | 2 +- 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 src/DefaultGui/Online.cs diff --git a/inf3.csproj b/inf3.csproj index 598afe3..68b087e 100644 --- a/inf3.csproj +++ b/inf3.csproj @@ -66,6 +66,7 @@ + \ No newline at end of file diff --git a/src/DefaultGui/Online.cs b/src/DefaultGui/Online.cs new file mode 100644 index 0000000..a6a225f --- /dev/null +++ b/src/DefaultGui/Online.cs @@ -0,0 +1,14 @@ +using System; + +namespace inf3 +{ + public class Online + { + int o_; + public Online (int o) + { + o_ = o; + } + } +} + diff --git a/src/Parser.cs b/src/Parser.cs index 93cf5f3..f6a406f 100644 --- a/src/Parser.cs +++ b/src/Parser.cs @@ -285,7 +285,7 @@ namespace WorldOfPeacecraft LinkedList unnamedValues = onlineBlock.GetUnnamedValues (); string stringValue = unnamedValues.First.Value; int intValue = int.Parse (stringValue); - //Online o = new Online(intValue); + Online o = new Online(intValue); } private void ProcessEntities (Block entitiesBlock)