Skip to content
Snippets Groups Projects
Select Git revision
  • squashed
  • master default protected
  • history
  • tourney_patches
4 results

build.sh

Blame
  • Forked from Toby Murray / swen90006-a2-2019
    Source project has a limited visibility.
    Energy.java 258 B
    public class Energy {
        private int value;
    
        protected Energy(int energy) {
            this.value = energy;
        }
    
        protected int getEnergy() {
            return this.value;
        }
    
        protected void add(int amount) {
            this.value += amount;
        }
    }