/// <summary> /// Default constructor. /// </summary> /// <param name="pToken">Token to be associated with the mind.</param> public OrangeFishMind(X2DToken pToken) { /* LEARNING PILL: associating a mind with a token * In order for a mind to control a token, it must be associated with the token. * This is done when the mind is constructed, using the method Possess inherited * from class AIPlayer. */ this.Possess(pToken); // Possess token. }
/// <summary> /// Default constructor. /// </summary> /// <param name="pToken">Token to be associated with the mind.</param> public AquariumMind(X2DToken pToken) { this.Possess(pToken); // Possess token. }
/// <summary> /// Default constructor. /// </summary> /// <param name="pToken">Token to be associated with the mind.</param> public PiranhaMind(X2DToken pToken) { this.Possess(pToken); // Possess token. facingDirectionX = 1; // Current direction the fish is facing. }
/// <summary> /// Default constructor. /// </summary> /// <param name="pToken">Token to be associated with the mind.</param> public PiranhaMind(X2DToken pToken) { this.Possess(pToken); }