Example #1
0
        public AGSHotspot()
        {
            Name       = string.Empty;
            ScriptName = string.Empty;
            WalkTo     = new Point();

            Properties   = new AGSPropertyStorage();
            Interactions = new AGSInteractions();
        }
Example #2
0
 public AGSObject()
 {
     Position     = Point.Empty;
     Visible      = false;
     Sprite       = 0;
     Room         = 0;
     Baseline     = 0;
     Flags        = 0;
     Name         = string.Empty;
     ScriptName   = string.Empty;
     Properties   = new AGSPropertyStorage();
     Interactions = new AGSInteractions();
 }
Example #3
0
        // TODO(adm244): pass a room version into constructor
        public AGSRoom(string name)
        {
            Version        = 29;
            this.Name      = name;
            Width          = 320;
            Height         = 200;
            ResolutionType = 1;
            GameID         = 0;
            Password       = new byte[0];

            State        = new AGSRoomState();
            Background   = new AGSRoomBackground();
            Markup       = new AGSRoomMarkup();
            Edges        = new AGSRoomEdges();
            Script       = new AGSRoomScript();
            Properties   = new AGSRoomProperties(Markup);
            Interactions = new AGSInteractions();
            Messages     = new AGSMessage[0];
        }
Example #4
0
 public AGSRegion()
 {
     Light        = 0;
     Tint         = 0;
     Interactions = new AGSInteractions();
 }