Пример #1
0
		public EActResults UseTool(Intelligent _intelligent)
		{
			if (IsOn)
			{
				MessageManager.SendXMessage(_intelligent, new XMessage(EALTurnMessage.CREATURE_LIGHT_OFF_IT, _intelligent, this));
			}
			else
			{
				MessageManager.SendXMessage(_intelligent, new XMessage(EALTurnMessage.CREATURE_LIGHT_ON_IT, _intelligent, this));
			}
			IsOn = !IsOn;
			return EActResults.DONE;
		}
Пример #2
0
		public void SetBuilding(Intelligent _intelligent, Building _building)
		{
			Building = _building;
			_building.SetOwner(_intelligent);
		}
		public IntelligentBattleInfo(Intelligent _intelligent, int _dv, int _pv, Dice _hitDice):base(_intelligent, _dv, _pv, _hitDice)
		{
			ToHitModifier = 5;
		}
Пример #4
0
		public EquipmentUiBlock(Rct _rct)
			: base(_rct, Frame.Frame1, FColor.White)
		{
			m_intelligent = World.TheWorld.Avatar;
			Rebuild();
		}
Пример #5
0
		public void SetOwner(Intelligent _intelligent) { Owner = _intelligent; }