Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 25, 2009, 3:26:06 AM (16 years ago)
Author:
landauf
Message:

added AI for the Pong gametype
improved Pong gameplay

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/objects/worldentities/PongBall.h

    r2826 r2839  
    4848            void setFieldDimension(const Vector2& dimension)
    4949                { this->setFieldDimension(dimension.x, dimension.y); }
     50            Vector2 getFieldDimension() const
     51                { return Vector2(this->fieldWidth_, this->fieldHeight_); }
    5052
    5153            void setSpeed(float speed);
     
    6769            float batlength_;
    6870            PongBat** bat_;
     71            float relMercyOffset_;
    6972    };
    7073}
Note: See TracChangeset for help on using the changeset viewer.