realbasic-games
[Top] [All Lists]

Re: How to know if a game device element is a buton or a potenciometer

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Re: How to know if a game device element is a buton or a potenciometer
From: Asher Dunn <asher at fireyesoftware dot com>
Date: Thu, 1 Feb 2007 20:43:35 -0500
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-games at lists dot realsoftware dot com
References: <45C2693E dot 6040500 at gmail dot com> <F1F88E12-292E-4067-8EF4-C2FD86508E06 at satx dot rr dot com>

On Feb 1, 2007, at 8:38 PM, William Squires wrote:

If your game elements are instances of separate classes, you could use an "IsA" test.

I think he meant game *input* device, and "if myGameInputElement Isa Potentiometer" sounds like wishful thinking to me ;-)

Asher

-------------------------
Asher Dunn
Head Developer, Fireye Software
http://www.fireyesoftware.com/
AIM, Yahoo, MSN: crazedglkid


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>