public void Begin() { // Initialize graphics helpers ballGraphics = new BallGraphics(this); cursorGraphics = new CursorGraphics(this); graphicDebug = new GraphicDebug(this); }
public IInventoryItem ToItem(AGSSerializationContext context) { IInventoryItem item = context.Resolver.Container.Resolve <IInventoryItem>(); item.Graphics = Graphics.ToItem(context); item.CursorGraphics = CursorGraphics.ToItem(context); item.Qty = Qty; item.ShouldInteract = ShouldInteract; return(item); }
public IInventoryItem ToItem(AGSSerializationContext context) { AGSInventoryItem item = new AGSInventoryItem(); item.Graphics = Graphics.ToItem(context); item.CursorGraphics = CursorGraphics.ToItem(context); item.Qty = Qty; item.ShouldInteract = ShouldInteract; return(item); }