Project

General

Profile

« Previous | Next » 

Revision 24679c47

Added by Leszek Koltunski over 1 year ago

Progress with marking objects as free.

View differences:

src/main/java/org/distorted/objects/RubikObjectList.java
358 358
    return mFreeBoughtObjects.equals("*");
359 359
    }
360 360

  
361
///////////////////////////////////////////////////////////////////////////////////////////////////
362

  
363
  public static boolean thereAreLockedObjects()
364
    {
365
    for(int i=0; i<mNumObjects; i++)
366
      {
367
      RubikObject o = mObjects.get(i);
368
      if( !o.isFree() ) return true;
369
      }
370

  
371
    return false;
372
    }
373

  
361 374
///////////////////////////////////////////////////////////////////////////////////////////////////
362 375

  
363 376
  public static boolean objectAlreadyBought(String shortName)

Also available in: Unified diff