cs sdk v 1.14 released

Home  |  Product  |  Documents  |  Tutorials  |  FAQ |   Download  |   Forum |   Contacts  |   Link  


  Cross Suit

 Cross Suit SDK

 Documents
      classes
 Starting...
           Tutorials

 LUA tutorials

   Support

  Forum
  q&a

 Product parts

 Virtual File system

 Virtual Render
 Virtual Machine
   

  Demo Games

   

 3D Engine

  gvSystem(dx9)

 Link

 

 

gv_ball.h

Go to the documentation of this file.
00001 #pragma once
00002 
00006 class gv_OBJECT_RECT;
00011 class gv_ball : public gv_gameobject2d 
00012 {
00013 
00014 public:
00015 
00016         gv_ball();
00017         virtual ~gv_ball();
00018 
00019         virtual void    Update();
00020         virtual void    Render2D();
00021         virtual void    Collision (gv_gameobject2d* object);
00022         
00023         static int              GetCount();
00024 
00025         bool                    collisionFlag;
00026         void Collision2(gv_ball* object);       
00027         static int              count;
00028 
00029 private:
00033         gv_OBJECT_RECT* p_BallSprite;  
00037         float                   rotateSpeed;    
00038 public:
00039         int Show(bool bShow);
00040         int SetTexture(char* szFileName, int w, int h, bool bShow);
00041         bool m_bStatic;
00042         XVECTOR2 m_OldLocation;
00043         XVECTOR2 m_force;
00044         float m_mass;
00045         // Á¸Ã¼Å©¸¸
00046         bool m_bZone;
00047         int CheckInterSectionRect(int x1, int y1, int x2, int y2);
00048         int SetTexture(gv_OBJECT_RECT* pBallTexture, int w, int h, bool bShow);
00049         int m_iSoundColl;
00050         bool m_isRemoveTexture;
00051 };

Copyright(C) gvSystem & GamePlus All Rights Reserved.