Skip to content

Commit

Permalink
#195 Renaming.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich2 committed Aug 20, 2022
1 parent 58c8731 commit 7d2fd08
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dev/src/p305/BC305Gui.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
package ostrat; package p305
import geom._, pglobe._, pgui._, pEarth._

case class BC305Gui(canv: CanvasPlatform, scen: BcScen) extends EarthGuiOld("BC 305")
case class BC305Gui(canv: CanvasPlatform, scen: BcScenOld) extends EarthGuiOld("BC 305")
{
override def saveNamePrefix = "BC305"
override def scaleMax: Length = 14000.km / mapPanelDiameter
Expand Down
4 changes: 2 additions & 2 deletions Dev/src/p305/Sc305.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
package ostrat; package p305
import pEarth._

class BcScen extends OldWorldMap[BcTileAncient, ESideOnyAncient](BcTileAncient.apply, ESideOnyAncient.apply)
class BcScenOld extends OldWorldMap[BcTileAncient, ESideOnyAncient](BcTileAncient.apply, ESideOnyAncient.apply)
{ val fLegion: (BcTileAncient, Polity) => Unit = (tile, p: Polity) => { tile.lunits = Legion(p, tile.cood) :: tile.lunits }
}

object Bc1 extends BcScen
object Bc1Old extends BcScenOld
{ fTiles[Polity](fLegion, (198, 466, Rome), (210, 458, Macedon))
}
2 changes: 1 addition & 1 deletion Dev/src/pDev/Apps.scala
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ object Apps
("Y4", (pspace.PlanetsGui(_), "JavaFx Planets")),
("Y6", (pDung.DungeonGui(_, pDung.Dungeon1), "JavaFx Dungeon")),
("Y8", (ColourGen(_), "JavaFx Some Colours")),
("Y9", (p305.BC305Gui(_, p305.Bc1), "BC 305")),
("Y9", (p305.BC305Gui(_, p305.Bc1Old), "BC 305")),
("Y10", (pCard.BlackJackGui(_), "JavaFx BlackJack")),
("Y11", (pchess.pdraughts.DraughtsGui(_, pchess.pdraughts.DraughtsStart), "Draughts")),
("Y13", (pCloseOrder.BattleGui(_, pCloseOrder.Nap1), "JavaFx Formation")),
Expand Down
2 changes: 1 addition & 1 deletion Dev/srcJsApps/Bc305App/Bc305JsApp.scala
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ import scalajs.js.annotation._, p305._
@JSExportTopLevel("BC305JsApp")
object BC305JsApp
{
@JSExport def main(): Unit = BC305Gui(CanvasJs, Bc1)
@JSExport def main(): Unit = BC305Gui(CanvasJs, Bc1Old)
}

0 comments on commit 7d2fd08

Please sign in to comment.