You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
605 B
28 lines
605 B
/** |
|
* Copyright 2022 Jamie Munro, All rights reserved |
|
* CS5041 P1 |
|
* Game 1 |
|
*/ |
|
|
|
public interface Enemy { |
|
public int getX(); |
|
public int getY(); |
|
public int getRotation(); |
|
public PImage getSprite(); |
|
public int getScaleFactor(); |
|
public int getTintR(); |
|
public int getTintG(); |
|
public int getTintB(); |
|
|
|
public int getMinimumDifficulty(); |
|
public int getScore(); |
|
public int getInitialHitPoints(); |
|
public int getHitPoints(); |
|
public int getChanceOfSpawning(); |
|
|
|
public void update(); |
|
public boolean hit(); |
|
public List<Enemy> spawnlings(); |
|
|
|
public Projectile projectile(); |
|
}
|
|
|