示例#1
0
 private int SetObjectCoordinate(int newCoord)
 {
     if (RoomEditorState.IsHighResRoomWithLowResScript(_room))
     {
         // Round co-ordinate to nearest even number to reflect what
         // will happen in the engine
         newCoord = (newCoord / 2) * 2;
     }
     return(newCoord);
 }
示例#2
0
 private int GetArrowMoveStepSize()
 {
     return(RoomEditorState.IsHighResRoomWithLowResScript(_room) ? 2 : 1);
 }