home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Aventura / Never_End.swf / scripts / groups / BookGroup.as next >
Encoding:
Text File  |  2008-09-23  |  813 b   |  39 lines

  1. package groups
  2. {
  3.    import game.Model;
  4.    
  5.    public class BookGroup extends Group
  6.    {
  7.        
  8.       
  9.       private var _text:String = "";
  10.       
  11.       public function BookGroup(param1:String, param2:Boolean)
  12.       {
  13.          _text = "";
  14.          super(param1,param2);
  15.       }
  16.       
  17.       override public function removeAllItems() : void
  18.       {
  19.          super.removeAllItems();
  20.          Model.getInstance().currentRoom.removeBook(this);
  21.       }
  22.       
  23.       public function set text(param1:String) : void
  24.       {
  25.          _text = param1;
  26.       }
  27.       
  28.       public function get text() : String
  29.       {
  30.          return _text;
  31.       }
  32.       
  33.       override public function set rotation(param1:Number) : void
  34.       {
  35.          this.items[0].rotation = param1;
  36.       }
  37.    }
  38. }
  39.