AY2425S1-CS2113-W14-1 / tp

0 stars 5 forks source link

Refactor code to classes #24

Closed TPH777 closed 3 weeks ago

TPH777 commented 3 weeks ago

Implemented an abstract class "Command" with execute method, which different commands will override to give different functionalites.

Refactor array list of incomes and spendings to IncomeList and SpendingsList which extends from ArrayList

Taking in user input will be taken care by Ui instead of main

Processing user input will be taken care by Parser instead of main

TPH777 commented 3 weeks ago

closes #24 closes #23