mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-16 16:46:07 +09:00
abolished a need to pass world as parametre
+ simply changing the single variable (ingame.world) will update all the renderer's behaviour + somehow my git changelogs are exploding
This commit is contained in:
@@ -7,7 +7,7 @@ import net.torvald.terrarum.gameworld.GameWorld
|
||||
/**
|
||||
* Created by minjaesong on 2016-09-08.
|
||||
*/
|
||||
class FixtureBasicTerminal(world: GameWorld, phosphor: Color) : FixtureBase(world) {
|
||||
class FixtureBasicTerminal(phosphor: Color) : FixtureBase() {
|
||||
|
||||
/*val computer = TerrarumComputer(8)
|
||||
val vt: Terminal = SimpleTextTerminal(phosphor, 80, 25, computer)
|
||||
|
||||
@@ -6,7 +6,7 @@ import net.torvald.terrarum.gameworld.GameWorld
|
||||
/**
|
||||
* Created by minjaesong on 2016-09-08.
|
||||
*/
|
||||
open class FixtureComputerBase(world: GameWorld) : FixtureBase(world) {
|
||||
open class FixtureComputerBase : FixtureBase() {
|
||||
|
||||
/** Connected terminal */
|
||||
var terminal: FixtureBasicTerminal? = null
|
||||
|
||||
Reference in New Issue
Block a user