Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 21, 2009, 12:33:37 AM (14 years ago)
Author:
scheusso
Message:

made some changes in NewHumanController, Pawn, CE, Controller and WeaponMode preparing the synchronisation of clients target and aimPosition

Location:
code/branches/presentation2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2

  • code/branches/presentation2/src/orxonox/worldentities/pawns/Pawn.h

    r6107 r6111  
    116116
    117117            virtual void startLocalHumanControl();
     118           
     119            void setAimPosition( Vector3 position )
     120                { this->aimPosition_ = position; }
     121            Vector3 getAimPosition()
     122                { return this->aimPosition_; }
    118123
    119124        protected:
     
    146151            inline void setWeaponSystem(WeaponSystem* weaponsystem)
    147152                { this->weaponSystem_ = weaponsystem; }
     153           
     154            Vector3 aimPosition_;
    148155    };
    149156}
Note: See TracChangeset for help on using the changeset viewer.