Class Flag

java.lang.Object
  extended by Item
      extended by Flag
All Implemented Interfaces:
java.io.Serializable

public class Flag
extends Item

See Also:
Serialized Form

Constructor Summary
Flag(Vector pos, Environment env)
           
 
Method Summary
 boolean isPortable()
           
 void performSpecificFunction(Item user)
           
 
Methods inherited from class Item
action, age, classImage, className, color, displacement, displacement, distanceFrom, distanceFrom, environment, image, incrementAge, isActive, isAlive, isEdible, isPushable, isSolid, message, messageCounter, position, radiusOfContact, reduceMessageCounter, remove, setActive, setAge, setColor, setEnvironment, setImage, setMessage, setPosition, setRadiusOfContact, showMessage, theCloser, toImage, touchingDistance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Flag

public Flag(Vector pos,
            Environment env)
Method Detail

performSpecificFunction

public void performSpecificFunction(Item user)
Overrides:
performSpecificFunction in class Item

isPortable

public boolean isPortable()
Overrides:
isPortable in class Item