Cleaned up a bit of code, need to work on camera handlign (Isn't as smooth as I want it to be)
This commit is contained in:
@@ -25,19 +25,19 @@ namespace Assets.Scripts.Player
|
||||
}
|
||||
|
||||
public string getTooltip(){
|
||||
return this.tooltip;
|
||||
return tooltip;
|
||||
}
|
||||
|
||||
public string getText(){
|
||||
return this.text;
|
||||
return text;
|
||||
}
|
||||
|
||||
public int getAmount(){
|
||||
return this.amount;
|
||||
return amount;
|
||||
}
|
||||
|
||||
public void changeAmount(int change){
|
||||
this.amount = this.amount + change;
|
||||
amount += change;
|
||||
}
|
||||
|
||||
public void setAmount(int amount){
|
||||
|
||||
Reference in New Issue
Block a user