We wrote a program for real time data collection and display real time data of sensors, when I run the program. I got two errors, as mention below.
-
Location: Windows2.SpriteSurface1.Collision Declaration
Issue: SpriteSurface1 on Windows2 implements the event “Collision,”
but its superclass SpriteSurface has already implemented the event
Sub Collision(s1 as Sprite,s2 as Sprite) -
Location: Windows2.SpriteSurface1.NextFrame Declaration
Issue: SpriteSurface1 on Windows2 implements the event “NextFrame,”
but its superclass SpriteSurface has already implemented the event
Sub NextFrame()
I don’t find any superclass SpriteSurface in programming.
I run the program in Realbasic2010r21, Realbasic 2012r21, XOJO 2015 on mac.
Please help me on regarding issues.
Thanks in advance.