Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Java (https://www.askmehelpdesk.com/forumdisplay.php?f=440)
-   -   Object oriented design in java programming (https://www.askmehelpdesk.com/showthread.php?t=786460)

  • Mar 10, 2014, 08:17 AM
    omarsalama
    Object oriented design in java programming
    I'm doing an object oriented design for players in a football match. My problem is : if here's a player and I want to apply game effects on him in different times of the game. For example, if he's in the field he's is "Motivated" so when I try to set his feelings (suppose I have a class named Feeling) by using method - void apply(Feeling feel){}- it should change his feelings to "Motivated" for example. How do I do it?
    Thank you.

  • All times are GMT -7. The time now is 11:54 AM.