Arcade Prehacks

Results 1 to 2 of 2
  1. #1

    Join Date
    Sep 2010
    Posts
    12

    Public variables

    Can we change public or private variables.

    Code:
        package pGame.data
        {
            import flash.utils.*;
    
            public class GameData extends Object
            {
                private var _timer:Timer;
                private var _scores:Array;
                public var currentLevel:Number = 1;
                public var totalOpenedLevels:Number = 1;
                public var levelData:Array;


    If so then pls tell me how it can be done.

  2. #2
    Super Moderator ZuckeR's Avatar
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    1,775

    Re: Public variables

    Yes, they can be changed and no we don't tell you how as you would need tools that are staff only.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •