mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-25 01:57:26 +00:00
34 lines
673 B
ActionScript
34 lines
673 B
ActionScript
class com.jpexs.TestSetterGetter {
|
|
|
|
private var priv_myvar:Number;
|
|
|
|
private static var priv_mystatvar: Number;
|
|
|
|
private var priv_myreadonly : Number = 1;
|
|
|
|
private var priv_mywriteonly : Number = 2;
|
|
|
|
public function get myvar(){
|
|
return this.priv_myvar;
|
|
}
|
|
|
|
public function set myvar(val){
|
|
this.priv_myvar = val;
|
|
}
|
|
|
|
public static function get mystatvar(){
|
|
return TestSetterGetter.priv_mystatvar;
|
|
}
|
|
|
|
public static function set mystatvar(val:Number){
|
|
TestSetterGetter.priv_mystatvar = val;
|
|
}
|
|
|
|
public function get myreadonly(){
|
|
return this.priv_myreadonly;
|
|
}
|
|
|
|
public function set mywriteonly(val:Number) {
|
|
this.priv_mywriteonly = val;
|
|
}
|
|
} |