Skip to content

Commit 0c7946f

Browse files
author
Valentin Vetter
committed
cleanup(viewport): remove useless code
1 parent 55e269f commit 0c7946f

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

engine/modules/viewport/src/main/resources/view/viewport-module/ViewportModule.js

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -79,15 +79,6 @@ export class ViewportModule {
7979
}
8080
}
8181

82-
/**
83-
* Called when global data is received. Should only be called on init.
84-
* @param players information about players, such as avatar, name, color..
85-
* @param globalData data that has been sent from the Java module.
86-
*/
87-
handleGlobalData (players, globalData) {
88-
this.globalData = globalData
89-
}
90-
9182
/**
9283
* Called when the scene needs an update.
9384
* @param previousData data from the previous frame.
@@ -98,11 +89,4 @@ export class ViewportModule {
9889
updateScene (previousData, currentData, progress, speed) {
9990
}
10091

101-
/**
102-
* Called every delta milliseconds.
103-
* @param delta time between current and last call. Aproximately 16ms by default.
104-
*/
105-
animateScene (delta) {
106-
}
107-
10892
}

0 commit comments

Comments
 (0)