Skip to content

Commit

Permalink
remove use of deprecated api
Browse files Browse the repository at this point in the history
  • Loading branch information
obiot committed Jul 8, 2024
1 parent 771c614 commit ad0c484
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platformer/js/entities/controls.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import game from './../game.js';
/**
* a basic control to toggle fullscreen on/off
*/
class Button extends me.GUI_Object {
class Button extends me.UISpriteElement {
/**
* constructor
*/
Expand Down Expand Up @@ -40,7 +40,7 @@ class Button extends me.GUI_Object {
/**
* a virtual joypad
*/
class Joypad extends me.GUI_Object {
class Joypad extends me.UISpriteElement {
/**
* constructor
*/
Expand Down

0 comments on commit ad0c484

Please sign in to comment.