()
| 72 | } |
| 73 | |
| 74 | initialize () { |
| 75 | super.initialize() |
| 76 | this.building = {} |
| 77 | this.spriteSheets = {} |
| 78 | if (utils.showOzaria()) { |
| 79 | this.textureAtlases = new Map() |
| 80 | |
| 81 | // Vue recursively traverses objects making them reactive. |
| 82 | // Our thangs are referenced from a reactive object somewhere in the |
| 83 | // codebase adding a large performance hit with no functional benefit. |
| 84 | // |
| 85 | // This line tricks Vue into thinking it has already made this ThangType |
| 86 | // reactive. |
| 87 | return Vue.nonreactive(this) |
| 88 | } |
| 89 | } |
| 90 | |
| 91 | // # Testing memory clearing |
| 92 | // f = => |
nothing calls this directly
no outgoing calls
no test coverage detected