示例#1
0
        } //isDocked

        public void onTarget(float deltaY, ArcheryTarget target, ContentManager content)
        {
            isOnTarget    = true;
            archerytarget = new ArcheryTarget(content);
            archerytarget.changePosY(target.getPosition().Y);
            changeY = deltaY;
        } //onTarget
示例#2
0
        } //Vector2 position

        public void changeArcheryTargetPosY(float newY)
        {
            archerytarget.changePosY(newY);
        } // changeArcheryTargetPosY
示例#3
0
文件: Arrow.cs 项目: postoakt/archer
 public void onTarget(float deltaY, ArcheryTarget target, ContentManager content)
 {
     isOnTarget = true;
     archerytarget = new ArcheryTarget(content);
     archerytarget.changePosY(target.getPosition().Y);
     changeY = deltaY;
 }