1 package org
.sevenchan
.dongs
.creature
3 import org
.sevenchan
.dongs
.Creature
;
4 import org
.sevenchan
.dongs
.bodyparts
.*;
5 import flash
.net
.registerClassAlias
;
11 public class Human
extends Creature
13 registerClassAlias
("EHuman", Human
);
14 public var SKIN
:Skin
= new Skin
("human", "light", "smooth");
16 public function Human
()
18 trace
("Human.init()");
20 height
= Math.random
()*1.5 + 5;
21 switch(Math.round
(MathUtils
.rand
(0, 1))) {
23 this.gender
= Gender
.MALE
;
26 this.gender
= Gender
.FEMALE
;
29 this.build
= Build
.AVG
;
30 this.hair
= new Hair
();
32 BodyPartRegistry
.human_arm
,
33 BodyPartRegistry
.human_arm
36 BodyPartRegistry
.human_leg
,
37 BodyPartRegistry
.human_leg
40 BodyPartRegistry
.human_blue_eye
,
41 BodyPartRegistry
.human_blue_eye
46 override public function addBreast
():Breast
48 var boob
:Breast
= BodyPartRegistry
.human_breast
;
49 boob
.size
= MathUtils
.rand
(0, 3);
54 override public function initialGenderSetup
():void
57 BodyPartRegistry
.human_anus
63 BodyPartRegistry
.human_testicle
,
64 BodyPartRegistry
.human_testicle
67 BodyPartRegistry
.human_penis
74 BodyPartRegistry
.human_vagina
76 breasts
[0].size
=breasts
[1].size
=MathUtils
.rand
(0,5);
81 override public function getTypeName
():String