Ejemplo n.º 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;
		}
Ejemplo n.º 2
0
		public void SetBuilding(Intelligent _intelligent, Building _building)
		{
			Building = _building;
			_building.SetOwner(_intelligent);
		}
Ejemplo n.º 3
0
		public IntelligentBattleInfo(Intelligent _intelligent, int _dv, int _pv, Dice _hitDice):base(_intelligent, _dv, _pv, _hitDice)
		{
			ToHitModifier = 5;
		}
Ejemplo n.º 4
0
		public EquipmentUiBlock(Rct _rct)
			: base(_rct, Frame.Frame1, FColor.White)
		{
			m_intelligent = World.TheWorld.Avatar;
			Rebuild();
		}
Ejemplo n.º 5
0
		public void SetOwner(Intelligent _intelligent) { Owner = _intelligent; }