Skip to content

Instantly share code, notes, and snippets.

Avatar

isXander isXander

View GitHub Profile
@isXander
isXander / Keyboard.java
Created May 3, 2021
A map between GLFW & LWJGL 2
View Keyboard.java
/*
* Copyright (C) isXander [2019 - 2021]
* This program comes with ABSOLUTELY NO WARRANTY
* This is free software, and you are welcome to redistribute it
* under the certain conditions that can be found here
* https://www.gnu.org/licenses/gpl-3.0.en.html
*
* If you have any questions or concerns, please create
* an issue on the github page that can be found here
* https://github.com/isXander/EvergreenHUD
View PlayScreen.java
package com.britishpenguin.astrowarrior.screens;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Screen;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.OrthographicCamera;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.math.MathUtils;
import com.britishpenguin.astrowarrior.AstroWarrior;
import com.britishpenguin.astrowarrior.entity.Entity;