Skip to content

Model Changes#1

Open
ashudev6 wants to merge 28 commits intomasterfrom
active
Open

Model Changes#1
ashudev6 wants to merge 28 commits intomasterfrom
active

Conversation

@ashudev6
Copy link
Collaborator

No description provided.

Copy link
Member

@kunal-exuberant kunal-exuberant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make the changes. before it can be approved.


private int id;
private String name;
private String type;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ashudev6 These properties are already present inside Cell. Extend it. No need to repeat.


public interface IChargeable {

void collectCharge(Player p);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ashudev6 Prefer full name instead of shortcuts.


public interface ITaxable {

void collectTax (Player p);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ashudev6 Prefer full name instead of shortcuts.


public abstract class TaxableCell implements ITaxable {

private int id;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ashudev6 These properties are already present inside Cell. Extend it. No need to repeat.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants