drop-table-lol / BlockRunner

physics based runner game
2 stars 1 forks source link

Power-Up Parent Class #2

Closed drspaceman0 closed 7 years ago

drop-table-lol commented 7 years ago
  1. Powerup detects collision
  2. Powerup finds object of type "x"
  3. Powerup activates public function powerup in object x with args (int lengthOfTime, string powerupType)
  4. Powerup destroys self
drop-table-lol commented 7 years ago

Children classes should find object of type EnvironmentObject or Player