I’m trying to create a flash monopoly game.
But i want to create an array with my class.
class player{
var public money:int;
}
var Player : player = new Array(5);
for(i=0 ;i<Player.length; i++){
Player*.money=100;
}
I want to code like this
I’m trying to create a flash monopoly game.
But i want to create an array with my class.
class player{
var public money:int;
}
var Player : player = new Array(5);
for(i=0 ;i<Player.length; i++){
Player*.money=100;
}
I want to code like this
:: Copyright KIRUPA 2024 //--