//
//  MapLimis.m
//  SFS2X
//
//  Created by Lapo on 29/11/13.
//  Copyright (c) 2013 A51 Integrated | http://a51integrated.com. All rights reserved.
//

#import "MapLimits.h"

@implementation MapLimits

@synthesize lowerLimit = _lowerLimit;
@synthesize higherLimit = _higherLimit;

+(id) limitWithLowerValue:(Vec3D*)lower higherValue:(Vec3D*)higher
{
    return [[MapLimits alloc] initWithLowerLimit:lower higherLimit:higher];
}

-(id) initWithLowerLimit:(Vec3D*)lower higherLimit:(Vec3D*)higher
{
    self = [super init];
    
    if (self)
    {
        _lowerLimit = lower;
        _higherLimit = higher;
    }
    
    return self;
}

@end
