Site hosted by Angelfire.com: Build your free website today!

 

Package  

 Class 

Tree 

Deprecated 

Index 

Help 

 

 PREV CLASS   NEXT CLASS

FRAMES    NO FRAMES    

 

SUMMARY: NESTED | FIELD | CONSTR | METHOD

DETAIL: FIELD | CONSTR | METHOD

 

size=2 width="100%" align=center>

Class Game

 
java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Panel
              extended byGame

All Implemented Interfaces:

javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, java.lang.Runnable, java.io.Serializable


public class Game

extends java.awt.Panel

implements java.lang.Runnable

See Also:

Serialized Form


Nested Class Summary

 

Nested classes inherited from class java.awt.Panel

java.awt.Panel.AccessibleAWTPanel

 

Nested classes inherited from class java.awt.Container

java.awt.Container.AccessibleAWTContainer

 

Nested classes inherited from class java.awt.Component

java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy

 

Field Summary

static int

ANI_DELAY
           

static java.awt.Color

BLUEGREY
           

static java.awt.Color[]

COLORS
           

static byte

DEBRIS
           

static byte

FLOATER
           

static byte

FOE
           

static byte

FRIEND
           

static java.awt.Color

GREENGREY
           

static java.awt.Color

GREY1
           

static java.awt.Color

GREY2
           

static java.awt.Color

GREY3
           

static java.awt.Color

GREY4
           

static int

nMatrix
           

static int

nMatrixM
           

static int

nNuke
           

static int

nNukeM
           

static int

nRail
           

static int

nRailM
           

static java.awt.Color

ORANGEGREY
           

static java.awt.Color

PURPLEGREY
           

static java.awt.Color

REDGREY
           

static java.awt.Color

WHITE
           

static java.awt.Color

WHITEGREY
           

static java.awt.Color

YELLOWGREY
           

 

Fields inherited from class java.awt.Component

BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT

 

Fields inherited from interface java.awt.image.ImageObserver

ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH

 

Constructor Summary

Game()
           

 

 

Method Summary

static void

deleteDeadMovables()
           

static java.util.ArrayList

getAddMovables()
           

static CommandCenter

getCommand()
           

static java.util.ArrayList

getDeleteMovables()
           

static java.awt.Dimension

getDim()
           

 int

getMatrix()
           

static java.util.ArrayList

getMovables()
           

 int

getNuke()
           

 int

getRail()
           

static byte

getTime()
           

 void

init()
           

 boolean

isFocusable()
           

static boolean

isMatrixBoolean()
           

static void

main(java.lang.String[] args)
           

 void

paint(java.awt.Graphics g)
           

 void

run()
           

 void

setMatrix(int n)
           

static void

setMatrixBoolean(boolean b)
           

 void

setNuke(int n)
           

 void

setRail(int n)
           

 void

spawnLevel()
           

 void

this_keyReleased(java.awt.event.KeyEvent e)
           

static void

tick()
           

 void

update(java.awt.Graphics g)
           

 

Methods inherited from class java.awt.Panel

addNotify, getAccessibleContext

 

Methods inherited from class java.awt.Container

add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree

 

Methods inherited from class java.awt.Component

action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusUpCycle

 

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Field Detail

GREY1

 
public static final java.awt.Color GREY1

GREY2

 
public static final java.awt.Color GREY2

GREY3

 
public static final java.awt.Color GREY3

GREY4

 
public static final java.awt.Color GREY4

REDGREY

 
public static final java.awt.Color REDGREY

ORANGEGREY

 
public static final java.awt.Color ORANGEGREY

YELLOWGREY

 
public static final java.awt.Color YELLOWGREY

GREENGREY

 
public static final java.awt.Color GREENGREY

BLUEGREY

 
public static final java.awt.Color BLUEGREY

PURPLEGREY

 
public static final java.awt.Color PURPLEGREY

WHITEGREY

 
public static final java.awt.Color WHITEGREY

COLORS

 
public static final java.awt.Color[] COLORS

ANI_DELAY

 
public static final int ANI_DELAY

See Also:

Constant Field Values


FRIEND

 
public static final byte FRIEND

See Also:

Constant Field Values


FOE

 
public static final byte FOE

See Also:

Constant Field Values


FLOATER

 
public static final byte FLOATER

See Also:

Constant Field Values


DEBRIS

 
public static final byte DEBRIS

See Also:

Constant Field Values


nNuke

 
public static int nNuke

nRail

 
public static int nRail

nMatrix

 
public static int nMatrix

nNukeM

 
public static int nNukeM

nRailM

 
public static int nRailM

nMatrixM

 
public static int nMatrixM

WHITE

 
public static final java.awt.Color WHITE

Constructor Detail

Game

 
public Game()

Method Detail

main

 
public static void main(java.lang.String[] args)

getDim

 
public static java.awt.Dimension getDim()

getTime

 
public static byte getTime()

tick

 
public static void tick()

isMatrixBoolean

 
public static boolean isMatrixBoolean()

setMatrixBoolean

 
public static void setMatrixBoolean(boolean b)

getCommand

 
public static CommandCenter getCommand()

update

 
public void update(java.awt.Graphics g)

setNuke

 
public void setNuke(int n)

setMatrix

 
public void setMatrix(int n)

setRail

 
public void setRail(int n)

getRail

 
public int getRail()

getNuke

 
public int getNuke()

getMatrix

 
public int getMatrix()

getMovables

 
public static java.util.ArrayList getMovables()

getDeleteMovables

 
public static java.util.ArrayList getDeleteMovables()

getAddMovables

 
public static java.util.ArrayList getAddMovables()

run

 
public void run()

Specified by:

run in interface java.lang.Runnable


init

 
public void init()

paint

 
public void paint(java.awt.Graphics g)

spawnLevel

 
public void spawnLevel()

deleteDeadMovables

 
public static void deleteDeadMovables()

isFocusable

 
public boolean isFocusable()

this_keyReleased

 
public void this_keyReleased(java.awt.event.KeyEvent e)
size=2 width="100%" align=center>

 

Package  

 Class 

Tree 

Deprecated 

Index 

Help 

 

 PREV CLASS   NEXT CLASS

FRAMES    NO FRAMES    

 

SUMMARY: NESTED | FIELD | CONSTR | METHOD

DETAIL: FIELD | CONSTR | METHOD

 

size=2 width="100%" align=center>