topical media & game development

talk show tell print

lib-flex-animation-code-03-com-friendsofed-isometric-GraphicTile.ax

lib-flex-animation-code-03-com-friendsofed-isometric-GraphicTile.ax (swf ) [ flash ] flex


  package com.friendsofed.isometric
  {
          import flash.display.DisplayObject;
          
          public class @ax-lib-flex-animation-code-03-com-friendsofed-isometric-GraphicTile extends IsoObject
          {
                  public function @ax-lib-flex-animation-code-03-com-friendsofed-isometric-GraphicTile(size:Number, classRef:Class, xoffset:Number, yoffset:Number):void
                  {
                          super(size);
                          
                          var gfx:DisplayObject = new classRef() as DisplayObject;
                          gfx.x = -xoffset;
                          gfx.y = -yoffset;
                          addChild(gfx);
                  }
          }
  }


(C) Æliens 18/6/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.