示例#1
0
    // Use this for initialization
    public virtual void Start()
    {
        _stateMachine = new FBLA.Game.AI.StateMachine <GameEntity>(this);

        if (GetTeam() != 0)
        {
            // Give the object a slight tint.
            Color setColor = Color.green;
            setColor.a = ENEMY_TINT;
            SetSelectedColor(setColor);
        }
    }
示例#2
0
    // Use this for initialization
    public virtual void Start ()
    {
        _stateMachine = new FBLA.Game.AI.StateMachine<GameEntity>(this);

        if (GetTeam() != 0)
        {
            // Give the object a slight tint.
            Color setColor = Color.green;
            setColor.a = ENEMY_TINT;
            SetSelectedColor(setColor);
        }
    }