07-24-2012, 11:25 PM
[code2=vbnet]Public Sub New(ByVal x As Integer, ByVal y As Integer, ByVal width As Integer, ByVal height As Integer, ByVal speed As Integer, ByVal damage As Integer)
_x = x
_y = y
_width = width
_height = height
Me.Image = My.Resources.Player_Left_Bullet ' Property 'Image' is 'ReadOnly'.
_speed = speed
_damage = damage
End Sub[/code2]
_x = x
_y = y
_width = width
_height = height
Me.Image = My.Resources.Player_Left_Bullet ' Property 'Image' is 'ReadOnly'.
_speed = speed
_damage = damage
End Sub[/code2]
Microsoft Visual Studio Wrote:Error 4 Property 'Image' is 'ReadOnly'. C:\Documents and Settings\Owner\my documents\visual studio 2010\Projects\Shooter\Shooter\Custom Controls\Left_Bullet.vb 70 9 Shooter
Also known as Rocketalypse.
System.out.println("I prefer Java.");
System.out.println("I prefer Java.");