Project

General

Profile

« Previous | Next » 

Revision ade99032

Added by Leszek Koltunski 2 months ago

Objects can support or not changing colors of their stickers.

View differences:

src/main/java/org/distorted/objectlib/json/JsonWriter.java
439 439
    metadata.put("num_faces"  , object.getNumPuzzleFaces() );
440 440
    metadata.put("price"      , meta.price() );
441 441
    metadata.put("category"   , meta.getCategory() );
442
    metadata.put("adj_colors" , meta.supportsAdjustableStickerColors() );
442 443

  
443 444
    JSONArray sigArray = new JSONArray();
444 445
    long[] sig = object.getSignature().getArray();

Also available in: Unified diff