home *** CD-ROM | disk | FTP | other *** search
Visual Basic class definition | 1999-05-28 | 686 b | 28 lines |
- VERSION 1.0 CLASS
- BEGIN
- MultiUse = -1 'True
- Persistable = 0 'NotPersistable
- DataBindingBehavior = 0 'vbNone
- DataSourceBehavior = 0 'vbNone
- MTSTransactionMode = 0 'NotAnMTSObject
- END
- Attribute VB_Name = "Sprite"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = True
- Attribute VB_PredeclaredId = False
- Attribute VB_Exposed = False
- ' Generic sprite class.
- Option Explicit
-
- ' Draw the sprite on the PictureBox.
- Public Sub DrawSprite(ByVal pic As PictureBox)
-
- End Sub
-
- ' Move the sprite keeping it in bounds.
- Public Sub MoveSprite(ByVal xmin As Integer, ByVal xmax As Integer, ByVal ymin As Integer, ByVal ymax As Integer)
-
- End Sub
-
-
-