Commit e86f1260 authored by Noeska Smit's avatar Noeska Smit
Browse files

Refactor to v19

parent 77e966c8
Pipeline #241 canceled with stages
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<projectDescription> <projectDescription>
<name>inf101.v18.lab2</name> <name>inf101.v19.lab2</name>
<comment></comment> <comment></comment>
<projects> <projects>
</projects> </projects>
......
package inf101.v18.cell; package inf101.v19.cell;
import java.util.Random; import java.util.Random;
......
package inf101.v18.cell; package inf101.v19.cell;
import java.awt.Color; import java.awt.Color;
import java.util.Random; import java.util.Random;
import inf101.v18.datastructures.IGrid; import inf101.v19.datastructures.IGrid;
import inf101.v18.datastructures.MyGrid; import inf101.v19.datastructures.MyGrid;
/** /**
* *
......
package inf101.v18.cell; package inf101.v19.cell;
import java.awt.Color; import java.awt.Color;
......
package inf101.v18.cell; package inf101.v19.cell;
import inf101.v18.cell.gui.CellAutomataGUI; import inf101.v19.cell.gui.CellAutomataGUI;
public class Main { public class Main {
......
package inf101.v18.cell; package inf101.v19.cell;
import java.awt.Color; import java.awt.Color;
import java.util.Random; import java.util.Random;
import inf101.v18.datastructures.IGrid; import inf101.v19.datastructures.IGrid;
import inf101.v18.datastructures.MyGrid; import inf101.v19.datastructures.MyGrid;
/** /**
* *
......
package inf101.v18.cell.gui; package inf101.v19.cell.gui;
import java.awt.Component; import java.awt.Component;
import java.awt.Dimension; import java.awt.Dimension;
import java.awt.Graphics; import java.awt.Graphics;
import inf101.v18.cell.ICellAutomaton; import inf101.v19.cell.ICellAutomaton;
/** /**
* *
......
package inf101.v18.cell.gui; package inf101.v19.cell.gui;
import java.awt.BorderLayout; import java.awt.BorderLayout;
import java.awt.Component; import java.awt.Component;
...@@ -9,7 +9,7 @@ import javax.swing.JButton; ...@@ -9,7 +9,7 @@ import javax.swing.JButton;
import javax.swing.JFrame; import javax.swing.JFrame;
import javax.swing.JPanel; import javax.swing.JPanel;
import inf101.v18.cell.ICellAutomaton; import inf101.v19.cell.ICellAutomaton;
/** /**
* *
......
package inf101.v18.datastructures; package inf101.v19.datastructures;
import static org.junit.Assert.*; import static org.junit.Assert.*;
...@@ -6,7 +6,7 @@ import java.util.Random; ...@@ -6,7 +6,7 @@ import java.util.Random;
import org.junit.Test; import org.junit.Test;
import inf101.v18.cell.CellState; import inf101.v19.cell.CellState;
public class GridTest { public class GridTest {
Random random = new Random(); Random random = new Random();
......
package inf101.v18.datastructures; package inf101.v19.datastructures;
import inf101.v18.cell.CellState; import inf101.v19.cell.CellState;
public interface IGrid { public interface IGrid {
......
package inf101.v18.datastructures; package inf101.v19.datastructures;
import inf101.v18.cell.CellState; import inf101.v19.cell.CellState;
public interface IList { public interface IList {
/** /**
......
package inf101.v18.datastructures; package inf101.v19.datastructures;
import inf101.v18.cell.CellState; import inf101.v19.cell.CellState;
/** /**
* *
......
package inf101.v18.datastructures; package inf101.v19.datastructures;
import java.util.Arrays; import java.util.Arrays;
import inf101.v18.cell.CellState; import inf101.v19.cell.CellState;
public class MyList implements IList { public class MyList implements IList {
private int length; private int length;
......
package inf101.v18.datastructures; package inf101.v19.datastructures;
import static org.junit.Assert.*; import static org.junit.Assert.*;
...@@ -6,7 +6,7 @@ import org.junit.After; ...@@ -6,7 +6,7 @@ import org.junit.After;
import org.junit.Before; import org.junit.Before;
import org.junit.Test; import org.junit.Test;
import inf101.v18.cell.CellState; import inf101.v19.cell.CellState;
import java.util.Random; import java.util.Random;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment