mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-13 03:54:06 +09:00
Rectified heretic YY-MM-DD to standard YYYY-MM-DD
This commit is contained in:
@@ -11,7 +11,7 @@ import net.torvald.terrarum.Terrarum.mouseTileX
|
||||
import net.torvald.terrarum.Terrarum.mouseTileY
|
||||
|
||||
/**
|
||||
* Created by minjaesong on 16-03-14.
|
||||
* Created by minjaesong on 2016-03-14.
|
||||
*/
|
||||
class BasicDebugInfoWindow : UICanvas() {
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ import net.torvald.terrarum.fillRect
|
||||
|
||||
|
||||
/**
|
||||
* Created by minjaesong on 15-12-31.
|
||||
* Created by minjaesong on 2015-12-31.
|
||||
*/
|
||||
class ConsoleWindow : UICanvas() {
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ import net.torvald.terrarum.Terrarum
|
||||
|
||||
|
||||
/**
|
||||
* Created by minjaesong on 16-08-04.
|
||||
* Created by minjaesong on 2016-08-04.
|
||||
*/
|
||||
object DrawUtil {
|
||||
fun drawCentered(batch: SpriteBatch, image: Texture, screenPosY: Int, ui: UICanvas? = null) {
|
||||
|
||||
@@ -13,7 +13,7 @@ import net.torvald.terrarumsansbitmap.gdx.TextureRegionPack
|
||||
/**
|
||||
* Make item slot image with number on bottom-right
|
||||
*
|
||||
* Created by minjaesong on 16-07-20.
|
||||
* Created by minjaesong on 2016-07-20.
|
||||
*/
|
||||
object ItemSlotImageBuilder {
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ import net.torvald.terrarumsansbitmap.gdx.TextureRegionPack
|
||||
|
||||
|
||||
/**
|
||||
* Created by minjaesong on 16-01-27.
|
||||
* Created by minjaesong on 2016-01-27.
|
||||
*/
|
||||
class MessageWindow(override var width: Int, isBlackVariant: Boolean) : UICanvas() {
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ package net.torvald.terrarum.ui
|
||||
import com.jme3.math.FastMath
|
||||
|
||||
/**
|
||||
* Created by minjaesong on 16-03-22.
|
||||
* Created by minjaesong on 2016-03-22.
|
||||
*/
|
||||
object Movement{
|
||||
/**
|
||||
|
||||
@@ -6,7 +6,7 @@ import net.torvald.terrarum.Terrarum
|
||||
import net.torvald.terrarum.gameactors.Second
|
||||
|
||||
/**
|
||||
* Created by minjaesong on 16-01-23.
|
||||
* Created by minjaesong on 2016-01-23.
|
||||
*/
|
||||
class Notification : UICanvas() {
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ import net.torvald.terrarum.gameactors.roundInt
|
||||
/**
|
||||
* UIItems must be added manually at the init!
|
||||
*
|
||||
* Created by minjaesong on 15-12-31.
|
||||
* Created by minjaesong on 2015-12-31.
|
||||
*/
|
||||
abstract class UICanvas(
|
||||
toggleKeyLiteral: Int? = null, toggleButtonLiteral: Int? = null,
|
||||
|
||||
@@ -15,7 +15,7 @@ import net.torvald.terrarum.round
|
||||
*
|
||||
* New UIs are NORMALLY HIDDEN; set it visible as you need!
|
||||
*
|
||||
* Created by minjaesong on 15-12-31.
|
||||
* Created by minjaesong on 2015-12-31.
|
||||
*/
|
||||
class UIHandler(//var UI: UICanvas,
|
||||
var toggleKeyLiteral: Int? = null, var toggleButtonLiteral: Int? = null,
|
||||
|
||||
@@ -32,7 +32,7 @@ import net.torvald.terrarum.Terrarum
|
||||
*
|
||||
* This listener will print out 'Bo-ing!' whenever it's clicked.
|
||||
*
|
||||
* Created by minjaesong on 15-12-31.
|
||||
* Created by minjaesong on 2015-12-31.
|
||||
*/
|
||||
abstract class UIItem(var parentUI: UICanvas) { // do not replace parentUI to UIHandler!
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ import java.util.*
|
||||
|
||||
/**
|
||||
* Image gallery. Images will be equally spaced, counted from top-left to bottom-right.
|
||||
* Created by minjaesong on 16-08-08.
|
||||
* Created by minjaesong on 2016-08-08.
|
||||
*/
|
||||
class UIItemImageGallery(
|
||||
parentUI: UICanvas,
|
||||
|
||||
@@ -13,7 +13,7 @@ import net.torvald.terrarum.ui.UIQuickBar.Companion.SLOT_COUNT
|
||||
import org.dyn4j.geometry.Vector2
|
||||
|
||||
/**
|
||||
* Created by minjaesong on 16-07-20.
|
||||
* Created by minjaesong on 2016-07-20.
|
||||
*/
|
||||
class UIPieMenu : UICanvas() {
|
||||
private val cellSize = UIQuickBar.CELL_SIZE
|
||||
|
||||
@@ -11,7 +11,7 @@ import net.torvald.terrarum.gameworld.fmod
|
||||
import net.torvald.terrarum.itemproperties.ItemCodex
|
||||
|
||||
/**
|
||||
* Created by minjaesong on 16-07-20.
|
||||
* Created by minjaesong on 2016-07-20.
|
||||
*/
|
||||
class UIQuickBar : UICanvas() {
|
||||
private val gutter = 8
|
||||
|
||||
Reference in New Issue
Block a user