value property
int
value
Implementation
int get value {
switch (this) {
case BodyPosition.Undefined:
return 0;
case BodyPosition.Front:
return 1;
case BodyPosition.Back:
return 2;
case BodyPosition.LeftSide:
return 3;
case BodyPosition.RightSide:
return 4;
}
}