Skip to content
Snippets Groups Projects
Select Git revision
  • b1b5be640f07eb75a209a7d156e817768d033f8f
  • main default protected
  • correction_video
  • going_further
  • ImprovedMouseInteraction
  • final2023
  • template
  • ModifGUI
8 results

SimulatorApplication.java

Blame
  • Forked from YAGOUBI Rim / Game of life Template
    Source project has a limited visibility.
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    monkey.js 647 B
    class Monkey {
        constructor(id, name, speciesId, sex, age, birthLoc, liveLoc) {
            this.id = id;
            this.name = name;
            this.speciesId = speciesId;
            this.sex = sex;
            this.age = age;
            this.birthLoc = birthLoc;
            this.liveLoc = liveLoc;
        }
    
        getId() {
            return this.id;
        }
    
        getName() {
            return this.name;
        }
    
        getSpeciesId() {
            return this.speciesId;
        }
    
        getSex() {
            return this.sex;
        }
    
        getAge() {
            return this.age;
        }
    
        getBirthLoc() {
            return this.birthLoc;
        }
    
        getLiveLoc() {
            return this.liveLoc;
        }
    }