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
public class load { | |
static int savedA = 0; | |
public static void loadGame() { | |
try{ | |
// Open file to read from, named GameData.sav. | |
FileInputStream saveFile = new FileInputStream("GameData.sav"); | |
// Create an ObjectInputStream to get objects from save file. | |
ObjectInputStream save = new ObjectInputStream(saveFile); |
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
package package_full; | |
import java.awt.*; | |
import javax.swing.JFrame; | |
public class Screen { | |
private GraphicsDevice vc; | |
public Screen(){ |
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
package package_full; | |
import java.awt.*; | |
import javax.swing.JFrame; | |
public class JMain extends JFrame { | |
public static void main(String[] args) { | |
DisplayMode dm = new DisplayMode(800, 600, 16, DisplayMode.REFRESH_RATE_UNKNOWN); | |
JMain m = new JMain(); |
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
body { | |
background-color: #CCCC99; | |
font-size: .85em; | |
font-family: "Trebuchet MS", Verdana, Helvetica, Sans-Serif; | |
margin: 0; | |
padding: 0; | |
color: #696969; | |
} | |
a:link { |
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
using System; | |
using System.Collections.Generic; | |
using System.Data; | |
using System.Data.Entity; | |
using System.Linq; | |
using System.Web; | |
using System.Web.Mvc; | |
using MvcApplication1.Models; | |
using MvcApplication1.Services; |
OlderNewer