Exemplo n.º 1
0
        private static MoveAction GetMoveAction(MultipleRecords multipleRecords)
        {
            var action = new MoveAction();

            SerializerHelper.PopulateIPosition(action, multipleRecords);
            action.MovementType = SerializerHelper.GetMovementType(multipleRecords);
            return(action);
        }
Exemplo n.º 2
0
        private static EnterDoorAction GetEnterDoorAction(MultipleRecords multipleRecords)
        {
            var action = new EnterDoorAction();

            action.MovementType = SerializerHelper.GetMovementType(multipleRecords);
            action.DoorName     = multipleRecords.GetStringValue(DoorName);
            return(action);
        }