Files
narya/as-pom.xml
T
Bruno Garcia b660861be3 In an effort to make DObject updates easier to react to in actionscript, gendobj now generates
signals for each field that can be listened to individually.

From the old:

barrel.addListener(new AttributeChangeAdapter(function (event :AttributeChangedEvent) :void {
    if (event.getName() == BarrelObject.MONKEY_COUNT) {
        // ... cast event.getValue() and use it
    }
}));

to the new:

barrel.onMonkeyCountChanged.add(function (newValue :int, oldValue :int) :void {
    // ...
});


Only AttributeChangedEvent have been signalified, but I'm planning to continue with the other
ChangeListeners shortly.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6328 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-12-02 02:25:35 +00:00

49 lines
1.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.threerings</groupId>
<artifactId>naryalib</artifactId>
<packaging>swc</packaging>
<version>1.3-SNAPSHOT</version>
<name>narya</name>
<description>Facilities for making networked multiplayer games.</description>
<url>http://code.google.com/p/narya/</url>
<issueManagement>
<url>http://code.google.com/p/narya/issues/list</url>
</issueManagement>
<repositories>
<repository>
<id>as3corelib-repo</id>
<url>https://github.com/samskivert/as3corelib/raw/master/repository</url>
</repository>
<repository>
<id>as3-signals-repo</id>
<url>https://github.com/groves/as3-signals/raw/master/repository</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.threerings</groupId>
<artifactId>aspirin</artifactId>
<version>1.6</version>
<scope>compile</scope>
<type>swc</type>
</dependency>
<dependency>
<groupId>com.adobe</groupId>
<artifactId>as3corelib</artifactId>
<version>0.93</version>
<scope>compile</scope>
<type>swc</type>
</dependency>
<dependency>
<groupId>org.osflash</groupId>
<artifactId>signals</artifactId>
<version>0.8</version>
<type>swc</type>
</dependency>
</dependencies>
</project>