diff options
author | Michal Zimniewicz <mzimniew@man.poznan.pl> | 2015-01-28 10:49:16 +0100 |
---|---|---|
committer | Michal Zimniewicz <mzimniew@man.poznan.pl> | 2015-01-28 10:49:16 +0100 |
commit | df318093a899583fd434a451d51e0618fe69d96b (patch) | |
tree | 9d295f762b5c4adbeb21d3e63cc85bf501ba377c /Aktywator/HandRecord.cs |
initial commit with not released version 1.0.4v1.0.4
Diffstat (limited to 'Aktywator/HandRecord.cs')
-rw-r--r-- | Aktywator/HandRecord.cs | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Aktywator/HandRecord.cs b/Aktywator/HandRecord.cs new file mode 100644 index 0000000..bd0e9f9 --- /dev/null +++ b/Aktywator/HandRecord.cs @@ -0,0 +1,31 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace Aktywator +{ + class HandRecord + { + public string[] north; + public string[] east; + public string[] south; + public string[] west; + + public HandRecord() + { + north = new string[4]; + east = new string[4]; + south = new string[4]; + west = new string[4]; + } + + public HandRecord(string pbnString) + { + string[] hand = pbnString.Split(' '); + north = hand[0].Split('.'); + east = hand[1].Split('.'); + south = hand[2].Split('.'); + west = hand[3].Split('.'); + } + } +} |