コード例 #1
0
 protected virtual void DeserializeAttributes(PersistanceReader ip)
 {
     this.m_GameBounds   = ip.GetRectangle("game");
     this.m_ScreenBounds = ip.GetRectangle("screen");
     this.m_Maximized    = ip.GetBoolean("maximized");
     this.m_FullSize     = ip.GetSize("full");
     this.m_Fullscreen   = ip.GetBoolean("fullscreen");
 }
コード例 #2
0
 protected virtual void DeserializeAttributes(PersistanceReader ip)
 {
     this._terrainQuality     = ip.GetInt32("terrain-quality");
     this._smoothingMode      = ip.GetInt32("smoothing-mode");
     this._smoothCharacters   = ip.GetBoolean("smooth-characters");
     this._animatedCharacters = ip.GetBoolean("animated-characters");
     this._itemShadows        = ip.GetBoolean("item-shadows");
     this._characterShadows   = ip.GetBoolean("character-shadows");
 }
コード例 #3
0
 protected virtual void DeserializeAttributes(PersistanceReader ip)
 {
     this.TemplateSet        = ip.GetBoolean("template-set");
     this.BlackPearlPos      = (Point)ip.GetPoint("black-pearl");
     this.BloodMossPos       = (Point)ip.GetPoint("blood-moss");
     this.GarlicPos          = (Point)ip.GetPoint("garlic");
     this.GinsengPos         = (Point)ip.GetPoint("ginseng");
     this.MandrakeRootPos    = (Point)ip.GetPoint("mandrake-root");
     this.NightshadePos      = (Point)ip.GetPoint("nightshade");
     this.SpidersSilkPos     = (Point)ip.GetPoint("spiders-silk");
     this.SulfurousAshPos    = (Point)ip.GetPoint("sulfurous-ash");
     this.HealPotionPos      = (Point)ip.GetPoint("heal-potion");
     this.CurePotionPos      = (Point)ip.GetPoint("cure-potion");
     this.RefreshPotionPos   = (Point)ip.GetPoint("refresh-potion");
     this.StrengthPotionPos  = (Point)ip.GetPoint("strength-potion");
     this.AgilityPotionPos   = (Point)ip.GetPoint("agility-potion");
     this.ExplosionPotionPos = (Point)ip.GetPoint("explosion-potion");
 }
コード例 #4
0
ファイル: PieChart.cs プロジェクト: FreeReign/imaginenation
		public override void DeserializeAttributes( PersistanceReader ip )
		{
			base.DeserializeAttributes( ip );

			m_ShowPercents = ip.GetBoolean( "p" );
		}
コード例 #5
0
        public override void DeserializeAttributes(PersistanceReader ip)
        {
            base.DeserializeAttributes(ip);

            m_ShowPercents = ip.GetBoolean("p");
        }
コード例 #6
0
 protected virtual void DeserializeAttributes(PersistanceReader ip)
 {
     this.m_Volume.Scale = ip.GetInt32("volume");
     this.m_Volume.Mute  = ip.GetBoolean("mute");
 }