Project

General

Profile

« Previous | Next » 

Revision 7ba38dd4

Added by Leszek Koltunski over 2 years ago

Major change: separate the notion of a TwistyObject and its Node. Now,

1) the Node stays when we change objects (this makes transitions faster)
2) it's possible to just create an Object without adding it to the Screen (now app needs to explicitly create the Node and add it to its Screen itself)

View differences:

src/main/java/org/distorted/objectlib/helpers/ObjectLibInterface.java
39 39
  // objectlib calls those to figure out app's state
40 40
  int getCurrentColor();
41 41
  int cubitIsLocked(ObjectType type, int cubit);
42
  DistortedFramebuffer getFramebuffer();
43 42
  }

Also available in: Unified diff