File tree Expand file tree Collapse file tree 2 files changed +26
-74
lines changed
socha-sdk/src/framework/sc/shared Expand file tree Collapse file tree 2 files changed +26
-74
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ package sc.shared
2
+
3
+ import com.thoughtworks.xstream.annotations.XStreamAsAttribute
4
+
5
+ /* *
6
+ * An additional note to be appended to a move.
7
+ * These notes can then be displayed in the GUI if debugging is enabled.
8
+ *
9
+ * This enables faster debugging of clients and easier configuring of strategies as
10
+ * important information gets displayed together with the corresponding move (instead of the CLI)
11
+ * ===
12
+ * Ein Debughinweis ist ein Container für einen String, der einem Zug beigefuegt
13
+ * werden kann. Beigefuegte Debughints werden direkt in der grafischen
14
+ * Oberflaeche des Plugins angezeigt, wenn die Debugansicht gewaehlt wurde.
15
+ *
16
+ * Dies ermöglicht das schnellere Debuggen von Clients und besseres
17
+ * Konfigurieren von Strategien, denn es müssen keine Konsolenausgaben gesucht
18
+ * werden und die Hinweise werden immer zum passenden Zug angezeigt.
19
+ */
20
+ class DebugHint (@XStreamAsAttribute val content : String = " " ) : Cloneable {
21
+ /* *
22
+ * This constructs a hint of the form "key = value"
23
+ */
24
+ constructor (key: String , value: String ) : this (" $key = $value " )
25
+ }
26
+
You can’t perform that action at this time.
0 commit comments