Skip to content
Snippets Groups Projects
Select Git revision
  • d5036747ecb3526f4fa0e3909c801c104fc94541
  • main default protected
2 results

Loot.java

Blame
  • Forked from COUETOUX Basile / aroTP1
    Source project has a limited visibility.
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    Loot.java 221 B
    public class Loot {
        int weight, value;
    
        public Loot(int weight, int value) {
            this.weight = weight;
            this.value = value;
        }
    
        public String toString(){
            return weight+" "+value;
        }
    }