Results 1 to 2 of 2

Thread: Where To Put API Declaration???

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Sep 2001
    Posts
    22

    Exclamation Where To Put API Declaration???

    well i am making a player class for a sports game and i am wondering where to put the IntersectRect API. if i put it in the class then i would be declaring it everytime i instanced that class....so i figure i will put it in a module as public.....but then i would have to include that module everytime i use the player class.....

    thanks for your thought.
    Last edited by JSG; Sep 22nd, 2001 at 07:21 AM.
    Two Wrongs May Not Make A Right, But Three Rights Make A Left....

  2. #2
    Frenzied Member Jotaf98's Avatar
    Join Date
    Jun 2000
    Location
    I'm not gonna give you my IP address! Ok... Portugal, South-Western Europe, 3rd rock from the sun (our star is easy to find, a 47 Ursae Majoris in the Milky Way :p )
    Posts
    1,457
    There's no problem in including a module, most sets of classes use that.
    Code:
    Temp = Me.GetIQ()
    'Error 9: Overflow
    'DON'T PANIC! :eek:

    To learn how to use realistic effects in your games like fire, rain, snow and magic effects, read my article on particles systems here.


    Jotaf's Theories!
    "Cats land on their feet. Toast lands peanut butter side down. A cat with toast strapped to its back will hover above the ground in a state of quantum indecision."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width