final commit

This commit is contained in:
2022-11-20 21:54:08 -05:00
parent 6f6fda5b1b
commit 8264cccb7a
51 changed files with 6299 additions and 2 deletions

26
src/pigeons/App.java Normal file
View File

@@ -0,0 +1,26 @@
package pigeons;
public class App {
/**
* Fonction Main permettant de lancer l'application
*
* @param args
* @throws Exception
*/
public static void main(String[] args) throws Exception {
Park park = new Park(500, 500);
new Bird(12, 123, park);
new Bird(102, 235, park);
new Bird(321, 421, park);
new Bird(126, 231, park);
new Bird(411, 34, park);
new Bird(245, 333, park);
UI ui = new UI(park);
while (true) {
ui.draw();
Thread.sleep(1);
}
}
}