AnnotationAssetManager.Asset.type()was renamed to
This means that you have to change every occurrence of
@Asset(type = Foo.class)with
Same goes for
@Asset(type = Foo.class, load = false)which now is
@Asset(value = Foo.class, load = false)
Accessoris now called
Functionto mimic Java 8's API.
Note that the generics are swapped (
<return type>, <arg type>instead of Java 8's
<arg type>, <return type>), so that still differs (no action required though).
ContextMenu- basically shows an Actor on right click
I should write some wiki articles for the new classes (contribution is welcome).
I'm thinking about something like a
ContextMenuBuilderfor quickly creating classic text context menus using the new
For a classic context menu you currently have to group a bunch of
Labels and add another
ContextMenuto each of them that should get a submenu.