1 package org
.sevenchan
.dongs
.bodyparts
.eye
3 import org
.sevenchan
.dongs
.bodyparts
.Eye
;
4 import org
.sevenchan
.dongs
.bodyparts
.IBodyPart
;
5 import org
.sevenchan
.dongs
.Creature
;
6 import flash
.net
.registerClassAlias
;
11 public class GhostEye
extends Eye
implements IBodyPart
13 registerClassAlias
("EGhostEye", GhostEye
);
15 private var _name
:String = "";
22 public function GhostEye
(nam
:String="",color
:String="")
28 /* INTERFACE org.sevenchan.dongs.bodyparts.IBodyPart */
30 public override function get name
():String
35 public override function set name
(value
:String):void {
39 public override function getDescr
(num
:Number, host
:Creature
):String
41 return num
+ " ghostlike " + color
+ " glowing eye" + ((num
> 1)?"s":"");
45 override public function getShortDescr
(withModifier
:Boolean = false):String
47 var t
:String = "glowing eye";