forked from asalga/Horadrix
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make IScreen a class rather than interface.
- Loading branch information
Showing
9 changed files
with
51 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,21 @@ | ||
/* | ||
*/ | ||
public interface IScreen{ | ||
public class IScreen{ | ||
|
||
public void draw(); | ||
public void update(); | ||
public void draw(){} | ||
public void update(){} | ||
|
||
// Mouse methods | ||
public void mousePressed(); | ||
public void mouseReleased(); | ||
public void mouseDragged(); | ||
public void mouseMoved(); | ||
public void mousePressed(){} | ||
public void mouseReleased(){} | ||
public void mouseDragged(){} | ||
public void mouseMoved(){} | ||
|
||
public void keyPressed(); | ||
public void keyReleased(); | ||
public void OnTransitionTo(); | ||
public void keyPressed(){} | ||
public void keyReleased(){} | ||
public void OnTransitionTo(){} | ||
|
||
public String getName(); | ||
public String getName(){ | ||
return "none"; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters