topical media & game development
actionscript-misc-Item.ax
actionscript-misc-Item.ax
[swf]
flex
package {
// A simple data container that stores information about an item.
public class @ax-actionscript-misc-Item {
// The item's name (for example, "apple")
public var name:String;
// The URL from which to load an image representing the item
public var src:String;
// A unique identifier for the item, used to evaluate player guesses
public var id:int;
// Constructor
public function @ax-actionscript-misc-Item (name:String, src:String, id:int) {
this.name = name;
this.src = src;
this.id = id;
}
}
}
(C) Æliens
27/08/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.