- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
public class tcMoveDirection
{
public enum tcDirection { R, L, N };
static public tcDirection fromstring(string expression)
{
switch (expression)
{
case "R":
return tcDirection.R;
case "L":
return tcDirection.L;
case "N":
return tcDirection.N;
default: throw new InvalidCastException();
}
}
}
Stefan 23.05.2016 19:45 # 0
guestinho 23.05.2016 20:14 # +2
guesto 23.05.2016 22:56 # 0
guest 24.05.2016 11:04 # +5
mvuBfZP 25.08.2021 07:55 # 0