Sha256: 5a12d898a578db10fe5ebacfb6a10b426326da98bad2230c035f1393cbe4bd4a

Contents?: true

Size: 259 Bytes

Versions: 2

Compression:

Stored size: 259 Bytes

Contents

using System;
using System.Collections.Generic;

namespace ClrModels {
	public class Sword : IWeapon {

    public virtual int Attack(IWarrior warrior){
      return warrior.SurviveAttackWith(this);
    }

    public int Damage(){
      return 4;
    }
	}
	
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
caricature-0.7.7 spec/fixtures/Sword.cs
caricature-0.7.6 spec/fixtures/Sword.cs