mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-23 23:17:08 +00:00
27 lines
314 B
ActionScript
27 lines
314 B
ActionScript
package tests
|
|
{
|
|
|
|
public class TestProperty
|
|
{
|
|
public function run():*
|
|
{
|
|
var d:* = new TestClass1();
|
|
var k:* = 7 + 8;
|
|
if (k == 15)
|
|
{
|
|
d.method(d.attrib * 5);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
class TestClass1
|
|
{
|
|
public var attrib:int = 5;
|
|
|
|
public function method(i:int):int
|
|
{
|
|
trace("method");
|
|
return 7;
|
|
}
|
|
} |