Serialized Form


Package cs2110.collision

Class cs2110.collision.ButtonPanel extends javax.swing.JPanel implements Serializable

serialVersionUID: 7426820497722133935L

Serialized Fields

imageList

 imageList

bmpFileNames

java.lang.String[] bmpFileNames

canvas

Canvas canvas

reset

javax.swing.JButton reset

shuffle

javax.swing.JButton shuffle

Class cs2110.collision.Canvas extends javax.swing.JPanel implements Serializable

serialVersionUID: -5399964428517899376L

Serialized Fields

mainWindow

GUI mainWindow

width

int width
JFrame of main window.


height

int height
Width in canvas coordinates.


imgWidth

double imgWidth
Height in canvas coordinates.


imgHeight

double imgHeight
Image width in image coordinates (in [0,1])


scale

double scale
Image height in image coordinates ( in [0,1])


shapes

java.util.ArrayList<E> shapes
Scale factor to translate from image to canvas coordinates.


selectedShape

Shape selectedShape
Collection of all shapes.


selectedAt

Vector2D selectedAt
Selected shape (to be dragged).


gen

java.util.Random gen
Random generator for shuffling shapes.


defImgFileName

java.lang.String defImgFileName

Class cs2110.collision.GUI extends javax.swing.JFrame implements Serializable

serialVersionUID: 7926807064448718426L

Serialized Fields

container

javax.swing.JPanel container

canvas

Canvas canvas

bmpFileNames

java.lang.String[] bmpFileNames