view game/G.java @ 138:9eb791e2fa17

Optimize board updating logic, so that the old placed tiles need not to be redrawn from scratch on each screen update, as they do not change usually.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 25 Nov 2011 11:04:09 +0200
parents 792bf87886e7
children 56aea6c89203
line wrap: on
line source

package game;

import java.awt.*;
import java.awt.geom.*;
import java.awt.event.*;
import java.awt.image.*;
import java.awt.event.*;
import java.awt.font.*;
import javax.imageio.*;
import javax.swing.*;
import java.util.*;
import java.io.*;
import game.*;
import javax.sound.sampled.*;

public class G
{
    public static final String version = "0.80";

    public static final int numFonts = 4;
    public static Font fonts[];
    public static FontMetrics metrics[];

    public static SoundManager smgr;

    public static Dimension screenDim;

    public static BufferedImage lautaBG = null, lautaBGScaled = null;
}