X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Feu%2Fsvjatoslav%2Fsixth%2Fe3d%2Fgui%2FViewUpdateTimerTask.java;h=59f34948cd7ed5a77f433ce3f81635bc59b1aca2;hb=59baa428fb2d9e7f0fe5423f4cea47f2d6245914;hp=59469614c007208b408b93463bdef9dbd415b8f2;hpb=dcdff57f0bab42387b2e4e215778d9e8efc60221;p=sixth-3d.git diff --git a/src/main/java/eu/svjatoslav/sixth/e3d/gui/ViewUpdateTimerTask.java b/src/main/java/eu/svjatoslav/sixth/e3d/gui/ViewUpdateTimerTask.java index 5946961..59f3494 100755 --- a/src/main/java/eu/svjatoslav/sixth/e3d/gui/ViewUpdateTimerTask.java +++ b/src/main/java/eu/svjatoslav/sixth/e3d/gui/ViewUpdateTimerTask.java @@ -1,5 +1,5 @@ /* - * Sixth 3D engine. Copyright ©2012-2018, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu + * Sixth 3D engine. Copyright ©2012-2019, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu * * This program is free software; you can redistribute it and/or * modify it under the terms of version 3 of the GNU Lesser General Public License @@ -11,17 +11,17 @@ package eu.svjatoslav.sixth.e3d.gui; public class ViewUpdateTimerTask extends java.util.TimerTask { - public View view; + public ViewPanel viewPanel; - public ViewUpdateTimerTask(final View view) { - this.view = view; + public ViewUpdateTimerTask(final ViewPanel viewPanel) { + this.viewPanel = viewPanel; } @Override public void run() { // update and possibly render view - view.updateView(); + viewPanel.updateView(); } }