1 package org
.sevenchan
.dongs
.bodyparts
3 import org
.sevenchan
.dongs
.Creature
;
4 import flash
.net
.registerClassAlias
;
11 registerClassAlias
("P_Hair", Hair
);
13 public var style
:String="";
14 public var color
:String="";
15 private var _value
:Number;
16 public function get value
():Number {
19 public function Hair
(style
:String="",color
:String="")
24 public function toString
():String {
27 return style
+" "+color
+" hair";
30 public function isBald
():Boolean {
31 return (style
== "bald" || style
== "");
34 public function getShortDescr
(withModifier
:Boolean = false):String {
35 var t
:String = "hair";