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.

entities.pde 290B

1234567891011121314151617181920212223
  1. class Entity{
  2. PVector position;
  3. PVector direction;
  4. float velocity;
  5. Hitbox touchbox; //multiple required
  6. PGraphics graphic;
  7. }
  8. class Hitbox{
  9. }
  10. class Character extends Entity{
  11. }
  12. class PlayerCharacter extends Character{
  13. }
  14. class NonPlayerCharacter extends Character{
  15. }