Project

General

Profile

« Previous | Next » 

Revision e35ed7e1

Added by Leszek Koltunski 11 months ago

change complexity from int to float.

View differences:

src/main/java/org/distorted/config/ConfigScreenPane.java
68 68
        name       = reader.getObjectName();
69 69
        author     = reader.getInventor();
70 70
        year       = reader.getYearOfInvention();
71
        difficulty = reader.getComplexity();
71
        difficulty = (int)reader.getComplexity();
72 72
        }
73 73
      catch(Exception ex)
74 74
        {
src/main/java/org/distorted/purchase/PurchaseScreenPane.java
191 191
        name       = reader.getObjectName();
192 192
        author     = reader.getInventor();
193 193
        year       = reader.getYearOfInvention();
194
        difficulty = reader.getComplexity();
194
        difficulty = (int)reader.getComplexity();
195 195
        }
196 196
      catch(Exception ex)
197 197
        {

Also available in: Unified diff