mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-17 20:41:38 +08:00
* `else` on same line as `if` brace. * `var` only when the type is shown. * Removed unnecessarily locals, eg `var events = this.events; var eventsItems = events.Items;`. * Don't indent `case`. * ExposedList for EventQueue just so iteration can use array indexing. * EventQueue, inner members (struct/enum) after methods. * No braces for single line `if/else/for`. * Removed comments noting ref impl code, eg `// abc.setSize(xyz);`. * Removed comments that didn't add to what the code shows, eg `// Pooling`. * Removed comments not in ref impl about implementation details, eg `// nextTrackLast == -1 ...`. * Removed commented code we are not using. * Use local with list.Items when iterating.