Unity Learn home
0
0
final excise for jr-programinng-pathway
23 views
- INHERITANCE Vehicle Player / Enemy / Enemy2 / PowerUp

- POLYMORPHISM Overload Move Player Move(Vector3 ) Enemy2 Move(float x, float y)

- POLYMORPHISM Override

-- SetTarget Player = mouse click Position / Enemy = random positions / PowerUp = stay position

-- SetTurn PowerUp

-- TurnOn

-- GotoTarget Enemy2 = alternate 4 positions

- ENCAPSULATION PlayerHealth get set is not set greater than 10 or less than -10

- ABSTRACTION SetTarget GotoTarget SetTurn Turn

https://github.com/yumopino/Programming-Theory
https://play.unity.com/en/games/93619051-fd71-4fa2-9bc1-cd91d1d7a924/evade
Media
1
1