
#import "b4i_circle.h"
#import "b4i_main.h"
#import "b4i_square.h"


@implementation b4i_circle 


+ (B4I*)createBI {
    return [B4I alloc];
}

- (void)dealloc {
    if (self.bi != nil)
        NSLog(@"Class (b4i_circle) instance released.");
}
- (NSString*)  _class_globals{
self._main=[b4i_main new];
 //BA.debugLineNum = 2;BA.debugLine="Sub Class_Globals";
 //BA.debugLineNum = 3;BA.debugLine="Private mx, my, mRadius As Int";
self._mx = 0;
self._my = 0;
self._mradius = 0;
 //BA.debugLineNum = 4;BA.debugLine="End Sub";
return @"";
}
- (NSString*)  _draw:(B4ICanvas*) _cvs{
 //BA.debugLineNum = 14;BA.debugLine="Sub Draw(cvs As Canvas)";
 //BA.debugLineNum = 15;BA.debugLine="cvs.DrawCircle(mx, my, mRadius, Colors.Blue, Fals";
[_cvs DrawCircle:(float) (self._mx) :(float) (self._my) :(float) (self._mradius) :[[self.__c Colors] Blue] :[self.__c False] :(float) ([self.__c DipToCurrent:(int) (1)])];
 //BA.debugLineNum = 16;BA.debugLine="End Sub";
return @"";
}
- (NSString*)  _initialize:(B4I*) _ba :(B4IList*) _shapes :(int) _x :(int) _y :(int) _radius{
[self initializeClassModule];
 //BA.debugLineNum = 7;BA.debugLine="Sub Initialize (Shapes As List, x As Int, y As Int";
 //BA.debugLineNum = 8;BA.debugLine="mx = x";
self._mx = _x;
 //BA.debugLineNum = 9;BA.debugLine="my = y";
self._my = _y;
 //BA.debugLineNum = 10;BA.debugLine="mRadius = radius";
self._mradius = _radius;
 //BA.debugLineNum = 11;BA.debugLine="Shapes.Add(Me)";
[_shapes Add:self];
 //BA.debugLineNum = 12;BA.debugLine="End Sub";
return @"";
}
@end
