Hey guys so I wanted since it's a good practice....why not define ourself in coding?
if I explain you will take a base or a core function and you will define yourself by using this core function
var Entity = new Entity_Basefunction Entity_Base() {var inteligence = 0;var language = [];var sexe = undefined;var race = undefined;var art_level = 0; // maximum on 10var programing_level = 0;var music_level = 0;var design_level = 0;var event_level = 0;var pixel_level = 0;}and with that you have your OWN imagination to create yourself as a function you have the right to extend the core function AS LONG this not DIRECT overwrite like copy paste and change directly the function....
why this practice because it's permit to show to other people ways for coding AND obviously ways for show your level in coding c: !
the directive :
mine is not so good since I am not so used to JS but I tried hard :c
so now your turns guys
!
EDIT : fixed a bunch of unnecessary code :/
if I explain you will take a base or a core function and you will define yourself by using this core function
var Entity = new Entity_Basefunction Entity_Base() {var inteligence = 0;var language = [];var sexe = undefined;var race = undefined;var art_level = 0; // maximum on 10var programing_level = 0;var music_level = 0;var design_level = 0;var event_level = 0;var pixel_level = 0;}and with that you have your OWN imagination to create yourself as a function you have the right to extend the core function AS LONG this not DIRECT overwrite like copy paste and change directly the function....
why this practice because it's permit to show to other people ways for coding AND obviously ways for show your level in coding c: !
the directive :
- Create a function with your name who inherit of Entity_Base
- redefine ALL the var in your functions!
- At least add one new thing's in your function
mine is not so good since I am not so used to JS but I tried hard :c
function Nio_Kasgami() {Entity.prototype.inteligence = 78;Entity.prototype._language.push("French","English");Entity.prototype.sexe = "male";Entity.prototype.race = "French-Canadian";Entity.prototype.art_level = 8.5;Entity.prototype.programing_level = 5.5;Entity.prototype.music_level = 2;Entity.prototype.design_level = 7;Entity.prototype.event_level = 6;Entity.prototype.pixel_level = 3;this.create_new_data();} Nio_Kasgami.prototype.create_new_data = function(){ return "Nioniese";}
EDIT : fixed a bunch of unnecessary code :/
Last edited by a moderator:

