public AGSRoomProperties(AGSRoomMarkup roomMarkup)
        {
            RoomMarkup = roomMarkup;

            Version = 1;
            Storage = new AGSPropertyStorage();
        }
Example #2
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];
        }