view src/main/csharp/jp.ac.u-ryukyu.ie.cr/jungle/util/Pair.cs @ 0:dec15de2c6ff

first commit
author Kazuma
date Tue, 21 Jun 2016 17:11:12 +0900
parents
children
line wrap: on
line source

using UnityEngine;
using System.Collections;

public class Pair<L, R> {
	private L left;
	private R right;

	public Pair(L _left,R _right){
		left = _left;
		right = _right;
	}
	// not same name , add s.
	public L lefts(){
		return left;
	}

	public R rights(){
		return right;
	}

}